From patchwork Wed Jul 6 12:08:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 645242 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 3rl01J15Kjz9sRZ for ; Wed, 6 Jul 2016 22:09:39 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=PpcKk5tq; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 32D6E30F0E; Wed, 6 Jul 2016 12:09:38 +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 aKEjv3a2xZeE; Wed, 6 Jul 2016 12:09:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 5B44C30F34; Wed, 6 Jul 2016 12:09:15 +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 D07EC1C1641 for ; Wed, 6 Jul 2016 12:09:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BF3DF30F33 for ; Wed, 6 Jul 2016 12:09:11 +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 CHMZJL2ydIUN for ; Wed, 6 Jul 2016 12:09:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by silver.osuosl.org (Postfix) with ESMTPS id 401BE30F06 for ; Wed, 6 Jul 2016 12:09:05 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id a66so35181579wme.2 for ; Wed, 06 Jul 2016 05:09:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=K1ijby32wYO1mdql8OtmZ3jo2UpgO+4AKBh3u2GwDbk=; b=PpcKk5tqTkgit8Aebrc1nyDkeCBTkMP6X/5Ju3Vhkqq/u8tD7Qd0p/Cx334RhPoUoF 3JCVHJs7LqrZlUwTOKYPk3zkvfABy44EOyULQVkO4KhefFFrsPfgIAyFQtGXXl0+xL/b bXRkn0PoDUELVPKGXcnK1Pnjpj6Hkp2S7VQkhkEZmElDUC45O+vGtWuBDLMNke4Umz86 iajj4/L3WR0pinlSkpPbQ2841dJlBL/HD2aHexBASkHN7J1QdFBLEP5UxoJGMkHIP37/ CPYOYdVaRTu243CkoLrGs03dMYvaMR/IY31R+jwDg9yaqH21HK7zATam2o1ILhQDIEp8 x0AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=K1ijby32wYO1mdql8OtmZ3jo2UpgO+4AKBh3u2GwDbk=; b=dalWtCDLYDiOmmt+gG+3Ydu3scK+7fPwybfEOunLH4+ShrZBXbevUDYV/urigtTmzr kTFP8NK6C93MUTrn4WTjnuiGvfVeKz5rdJs0FM1eaVxD79SjW6z19Syaxx5Sp2sx9wqN EMTQiPx1mt/7C/u3yRbK+a1j6tJd98wyHva+pBDfrlZrYrdIIMafN6YozsITx/OC42Y7 F0haH8o04H4qjUuy/1EntYbStWhpbFXYe/H4iozIZLAQ3McKIHenA8q2k94BxWU2tCfl PBTiqrXm6ayr1M0Lo51Xr8Wdd8MMCh1LhyLUjJgiYJTsrRqrcLolU6WFKq0bG8BiOB+y QR5g== X-Gm-Message-State: ALyK8tJZB2eqh6phLW1ZMFcYcDJikiNiUhwUGrn7T/RmtwKAG/YiPoXBhJ2aVb0j6uciEg== X-Received: by 10.28.223.8 with SMTP id w8mr21433871wmg.22.1467806943170; Wed, 06 Jul 2016 05:09:03 -0700 (PDT) Received: from r-x-uffo8396.home (ARennes-654-1-62-186.w81-53.abo.wanadoo.fr. [81.53.229.186]) by smtp.gmail.com with ESMTPSA id t3sm5865737wmf.6.2016.07.06.05.09.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 06 Jul 2016 05:09:02 -0700 (PDT) From: Fabrice Fontaine X-Google-Original-From: Fabrice Fontaine To: buildroot@buildroot.org Date: Wed, 6 Jul 2016 14:08:51 +0200 Message-Id: <1467806931-9880-4-git-send-email-fabrice.fontaine@orange.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1467806931-9880-1-git-send-email-fabrice.fontaine@orange.com> References: <1467806931-9880-1-git-send-email-fabrice.fontaine@orange.com> Cc: Fabrice Fontaine Subject: [Buildroot] [PATCH v2,4/4] alljoyn-base_tcl: 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" AllJoyn Base Services are common services used by many devices, providing a set of interfaces for different devices to interact and interoperate with one another. Thin Client Library is designed to bring the benefits of the AllJoyn distributed programming environment to embedded systems. https://allseenalliance.org Signed-off-by: Fabrice Fontaine Reviewed-by: Romain Naour --- package/Config.in | 1 + package/alljoyn-base_tcl/Config.in | 17 ++++++++++ package/alljoyn-base_tcl/alljoyn-base_tcl.hash | 2 ++ package/alljoyn-base_tcl/alljoyn-base_tcl.mk | 45 ++++++++++++++++++++++++++ 4 files changed, 65 insertions(+) create mode 100644 package/alljoyn-base_tcl/Config.in create mode 100644 package/alljoyn-base_tcl/alljoyn-base_tcl.hash create mode 100644 package/alljoyn-base_tcl/alljoyn-base_tcl.mk diff --git a/package/Config.in b/package/Config.in index 4120b0d..e3b47ad 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1128,6 +1128,7 @@ menu "Networking" source "package/ajtcl/Config.in" source "package/alljoyn/Config.in" source "package/alljoyn-base/Config.in" + source "package/alljoyn-base_tcl/Config.in" source "package/batman-adv/Config.in" source "package/c-ares/Config.in" source "package/canfestival/Config.in" diff --git a/package/alljoyn-base_tcl/Config.in b/package/alljoyn-base_tcl/Config.in new file mode 100644 index 0000000..12ebcef --- /dev/null +++ b/package/alljoyn-base_tcl/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_ALLJOYN_BASE_TCL + bool "alljoyn-base_tcl" + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS # ajtcl + select BR2_PACKAGE_AJTCL + help + AllJoyn Base Services are common services used by many devices, + providing a set of interfaces for different devices to interact and + interoperate with one another. + + Thin Client Library is designed to bring the benefits of the AllJoyn + distributed programming environment to embedded systems. + + https://allseenalliance.org + +comment "alljoyn-base_tcl needs a toolchain w/ threads and dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/package/alljoyn-base_tcl/alljoyn-base_tcl.hash b/package/alljoyn-base_tcl/alljoyn-base_tcl.hash new file mode 100644 index 0000000..882839d --- /dev/null +++ b/package/alljoyn-base_tcl/alljoyn-base_tcl.hash @@ -0,0 +1,2 @@ +# Locally computed: +sha256 741f7a71929ccd6a66bf75d2b03affc62411e229b70bb89399be9b1b2ce40629 alljoyn-base_tcl-16.04.00.tar.gz diff --git a/package/alljoyn-base_tcl/alljoyn-base_tcl.mk b/package/alljoyn-base_tcl/alljoyn-base_tcl.mk new file mode 100644 index 0000000..d6c339b --- /dev/null +++ b/package/alljoyn-base_tcl/alljoyn-base_tcl.mk @@ -0,0 +1,45 @@ +################################################################################ +# +# alljoyn-base_tcl +# +################################################################################ + +ALLJOYN_BASE_TCL_REV = 16.04 +ALLJOYN_BASE_TCL_VERSION = $(ALLJOYN_BASE_TCL_REV).00 +ALLJOYN_BASE_TCL_SOURCE = alljoyn-base_tcl-$(ALLJOYN_BASE_TCL_VERSION).tar.gz +ALLJOYN_BASE_TCL_SITE = \ + https://mirrors.kernel.org/allseenalliance/alljoyn/$(ALLJOYN_BASE_TCL_REV) +# See https://allseenalliance.org/alliance/ip-policy +ALLJOYN_BASE_TCL_LICENSE = ISC + +ALLJOYN_BASE_TCL_DEPENDENCIES = host-scons ajtcl +ALLJOYN_BASE_TCL_INSTALL_STAGING = YES + +# AllJoyn Base Thin Core can be compiled in debug or release mode. By default, +# AllJoyn Base Thin Core is built in debug mode. +ALLJOYN_BASE_TCL_VARIANT = release + +ALLJOYN_BASE_TCL_SCONS_OPTS = \ + -j$(PARALLEL_JOBS) \ + V=1 \ + VARIANT=$(AJTCL_VARIANT) \ + CC="$(TARGET_CC)" \ + CXX="$(TARGET_CXX)" \ + AJTCL_DIST=$(STAGING_DIR) \ + WS=off + +define ALLJOYN_BASE_TCL_BUILD_CMDS + cd $(@D); $(SCONS) $(ALLJOYN_BASE_TCL_SCONS_OPTS) +endef + +define ALLJOYN_BASE_TCL_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 Base Thin Core dynamic libraries into target directory +define ALLJOYN_BASE_TCL_INSTALL_TARGET_CMDS + cp -a $(@D)/dist/lib/lib*.so* $(TARGET_DIR)/usr/lib/ +endef + +$(eval $(generic-package))