From patchwork Mon Jun 27 15:18:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: fabrice.fontaine@orange.com X-Patchwork-Id: 641102 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rdXfL2hhLz9sBf for ; Tue, 28 Jun 2016 01:19:22 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C47F73300B; Mon, 27 Jun 2016 15:19:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h2GoaYjLpPpH; Mon, 27 Jun 2016 15:19:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 256F032F89; Mon, 27 Jun 2016 15:19:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id D971F1C150E for ; Mon, 27 Jun 2016 15:19:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id CF1E431BD1 for ; Mon, 27 Jun 2016 15:19:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G-fqzpzLYjLf for ; Mon, 27 Jun 2016 15:18:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relais-inet.francetelecom.com (relais-ias92.francetelecom.com [193.251.215.92]) by silver.osuosl.org (Postfix) with ESMTPS id 15FD832FBA for ; Mon, 27 Jun 2016 15:18:40 +0000 (UTC) Received: from omfedm05.si.francetelecom.fr (unknown [xx.xx.xx.1]) by omfedm13.si.francetelecom.fr (ESMTP service) with ESMTP id 436D13242C4 for ; Mon, 27 Jun 2016 17:18:38 +0200 (CEST) Received: from Exchangemail-eme2.itn.ftgroup (unknown [10.114.31.43]) by omfedm05.si.francetelecom.fr (ESMTP service) with ESMTP id 2731435C045 for ; Mon, 27 Jun 2016 17:18:38 +0200 (CEST) Received: from r-x-uffo8396.rd.francetelecom.fr (10.168.234.5) by OPEXCLILM5F.corporate.adroot.infra.ftgroup (10.114.31.43) with Microsoft SMTP Server id 14.3.294.0; Mon, 27 Jun 2016 17:18:34 +0200 From: To: Date: Mon, 27 Jun 2016 17:18:28 +0200 X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.168.234.5] Message-ID: <20390_1467040718_577143CE_20390_5576_1_9bcd6009-a0eb-41a1-a31a-dd6fd4a34e7d@OPEXCLILM5F.corporate.adroot.infra.ftgroup> X-PMX-Version: 6.2.1.2478543, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2016.6.27.142717 Cc: Fabrice Fontaine Subject: [Buildroot] [PATCH 3/4] ajtcl: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The AllJoyn framework defines a common way for devices and apps to communicate with one another regardless of brands, categories, transports, and OSes. Developers write applications that discover nearby devices, and communicate with each other directly and through the cloud, unleashing new possibilities in the Internet of Things. AllJoyn Thin Core Library (AJTCL) is designed to bring the benefits of the AllJoyn distributed programming environment to embedded systems. https://allseenalliance.org Signed-off-by: Fabrice Fontaine --- package/Config.in | 1 + package/ajtcl/Config.in | 18 ++++++++++++++++++ package/ajtcl/ajtcl.hash | 2 ++ package/ajtcl/ajtcl.mk | 44 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 package/ajtcl/Config.in create mode 100644 package/ajtcl/ajtcl.hash create mode 100644 package/ajtcl/ajtcl.mk diff --git a/package/Config.in b/package/Config.in index 5cde173..d262ff7 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1123,6 +1123,7 @@ endmenu menu "Networking" source "package/agentpp/Config.in" + source "package/ajtcl/Config.in" source "package/alljoyn/Config.in" source "package/alljoyn-base/Config.in" source "package/batman-adv/Config.in" diff --git a/package/ajtcl/Config.in b/package/ajtcl/Config.in new file mode 100644 index 0000000..3f2e573 --- /dev/null +++ b/package/ajtcl/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_AJTCL + bool "alljoyn-thin-core" + depends on BR2_TOOLCHAIN_HAS_THREADS + help + The AllJoyn framework defines a common way for devices and apps to + communicate with one another regardless of brands, categories, + transports, and OSes. Developers write applications that discover + nearby devices, and communicate with each other directly and through + the cloud, unleashing new possibilities in the Internet of Things. + + AllJoyn Thin Core Library (AJTCL) is designed to bring the benefits + of the AllJoyn distributed programming environment to embedded + systems. + + https://allseenalliance.org + +comment "alljoyn-thin-core needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/ajtcl/ajtcl.hash b/package/ajtcl/ajtcl.hash new file mode 100644 index 0000000..a1cdf16 --- /dev/null +++ b/package/ajtcl/ajtcl.hash @@ -0,0 +1,2 @@ +# Locally computed: +sha256 ce6a05a67ff405ba6274e85fe750d98f40cbe7ab2c968218c7741a10bd86e21a ajtcl-16.04.00-src.tar.gz diff --git a/package/ajtcl/ajtcl.mk b/package/ajtcl/ajtcl.mk new file mode 100644 index 0000000..d74be97 --- /dev/null +++ b/package/ajtcl/ajtcl.mk @@ -0,0 +1,44 @@ +################################################################################ +# +# ajtcl +# +################################################################################ + +AJTCL_REV = 16.04 +AJTCL_VERSION = $(AJTCL_REV).00 +AJTCL_SOURCE = ajtcl-$(AJTCL_VERSION)-src.tar.gz +AJTCL_SITE = https://mirrors.kernel.org/allseenalliance/alljoyn/$(AJTCL_REV) +# See https://allseenalliance.org/alliance/ip-policy +AJTCL_LICENSE = ISC +# AllJoyn Thin Core does not provide any license files with source code +# AJTCL_LICENSE_FILES = + +AJTCL_DEPENDENCIES = host-scons +AJTCL_INSTALL_STAGING = YES + +# AllJoyn Thin Core can be compiled in debug or release mode. By default, +# AllJoyn Thin Core is built in debug mode. +AJTCL_VARIANT = release + +AJTCL_SCONS_OPTS = \ + -j$(PARALLEL_JOBS) \ + V=1 \ + VARIANT=$(AJTCL_VARIANT) \ + CC="$(TARGET_CC)" \ + CXX="$(TARGET_CXX)" + +define AJTCL_BUILD_CMDS + cd $(@D); $(SCONS) $(AJTCL_SCONS_OPTS) +endef + +define AJTCL_INSTALL_STAGING_CMDS + cp -a $(@D)/dist/lib/lib* $(STAGING_DIR)/usr/lib/ + cp -a $(@D)/dist/include/* $(STAGING_DIR)/usr/include/ +endef + +# Only install AllJoyn Thin Core dynamic libraries into target directory +define AJTCL_INSTALL_TARGET_CMDS + cp -a $(@D)/dist/lib/lib*.so* $(TARGET_DIR)/usr/lib/ +endef + +$(eval $(generic-package))