Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3,3/3] alljoyn-tcl-base: new package
Date: Thu, 7 Jul 2016 19:02:33 +0200	[thread overview]
Message-ID: <6c0b36f8-2cda-eb89-e92f-8f887c628bf8@gmail.com> (raw)
In-Reply-To: <1467884015-27464-3-git-send-email-fabrice.fontaine@orange.com>

Hi Fabrice,

Le 07/07/2016 ? 11:33, Fabrice Fontaine a ?crit :
> 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

Reviewed-by: Romain Naour <romain.naour@gmail.com>

Best regards,
Romain

> 
> Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
> ---
> Changes v2 -> v3 (after review of Romain Naour):
>  - Rewrap Config.in help text
>  - Replace dependency on ajtcl to alljoyn-tcl
> 
>  package/Config.in                              |  1 +
>  package/alljoyn-tcl-base/Config.in             | 18 +++++++++++
>  package/alljoyn-tcl-base/alljoyn-tcl-base.hash |  2 ++
>  package/alljoyn-tcl-base/alljoyn-tcl-base.mk   | 45 ++++++++++++++++++++++++++
>  4 files changed, 66 insertions(+)
>  create mode 100644 package/alljoyn-tcl-base/Config.in
>  create mode 100644 package/alljoyn-tcl-base/alljoyn-tcl-base.hash
>  create mode 100644 package/alljoyn-tcl-base/alljoyn-tcl-base.mk
> 
> diff --git a/package/Config.in b/package/Config.in
> index 5715bff..f86e1ef 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1131,6 +1131,7 @@ menu "Networking"
>  	source "package/alljoyn/Config.in"
>  	source "package/alljoyn-base/Config.in"
>  	source "package/alljoyn-tcl/Config.in"
> +	source "package/alljoyn-tcl-base/Config.in"
>  	source "package/batman-adv/Config.in"
>  	source "package/c-ares/Config.in"
>  	source "package/canfestival/Config.in"
> diff --git a/package/alljoyn-tcl-base/Config.in b/package/alljoyn-tcl-base/Config.in
> new file mode 100644
> index 0000000..ebc3370
> --- /dev/null
> +++ b/package/alljoyn-tcl-base/Config.in
> @@ -0,0 +1,18 @@
> +config BR2_PACKAGE_ALLJOYN_TCL_BASE
> +	bool "alljoyn-tcl-base"
> +	depends on !BR2_STATIC_LIBS
> +	depends on BR2_TOOLCHAIN_HAS_THREADS # alljoyn-tcl
> +	select BR2_PACKAGE_ALLJOYN_TCL
> +	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-tcl-base needs a toolchain w/ threads and dynamic library"
> +	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
> diff --git a/package/alljoyn-tcl-base/alljoyn-tcl-base.hash b/package/alljoyn-tcl-base/alljoyn-tcl-base.hash
> new file mode 100644
> index 0000000..882839d
> --- /dev/null
> +++ b/package/alljoyn-tcl-base/alljoyn-tcl-base.hash
> @@ -0,0 +1,2 @@
> +# Locally computed:
> +sha256	741f7a71929ccd6a66bf75d2b03affc62411e229b70bb89399be9b1b2ce40629	alljoyn-base_tcl-16.04.00.tar.gz
> diff --git a/package/alljoyn-tcl-base/alljoyn-tcl-base.mk b/package/alljoyn-tcl-base/alljoyn-tcl-base.mk
> new file mode 100644
> index 0000000..461cd09
> --- /dev/null
> +++ b/package/alljoyn-tcl-base/alljoyn-tcl-base.mk
> @@ -0,0 +1,45 @@
> +################################################################################
> +#
> +# alljoyn-tcl-base
> +#
> +################################################################################
> +
> +ALLJOYN_TCL_BASE_REV = 16.04
> +ALLJOYN_TCL_BASE_VERSION = $(ALLJOYN_TCL_BASE_REV).00
> +ALLJOYN_TCL_BASE_SOURCE = alljoyn-base_tcl-$(ALLJOYN_TCL_BASE_VERSION).tar.gz
> +ALLJOYN_TCL_BASE_SITE = \
> +	https://mirrors.kernel.org/allseenalliance/alljoyn/$(ALLJOYN_TCL_BASE_REV)
> +# See https://allseenalliance.org/alliance/ip-policy
> +ALLJOYN_TCL_BASE_LICENSE = ISC
> +
> +ALLJOYN_TCL_BASE_DEPENDENCIES = host-scons alljoyn-tcl
> +ALLJOYN_TCL_BASE_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_TCL_BASE_VARIANT = release
> +
> +ALLJOYN_TCL_BASE_SCONS_OPTS = \
> +	-j$(PARALLEL_JOBS) \
> +	V=1 \
> +	VARIANT=$(ALLJOYN_TCL_BASE_VARIANT) \
> +	CC="$(TARGET_CC)" \
> +	CXX="$(TARGET_CXX)" \
> +	AJTCL_DIST=$(STAGING_DIR) \
> +	WS=off
> +
> +define ALLJOYN_TCL_BASE_BUILD_CMDS
> +	cd $(@D); $(SCONS) $(ALLJOYN_TCL_BASE_SCONS_OPTS)
> +endef
> +
> +define ALLJOYN_TCL_BASE_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_TCL_BASE_INSTALL_TARGET_CMDS
> +	cp -a $(@D)/dist/lib/lib*.so* $(TARGET_DIR)/usr/lib/
> +endef
> +
> +$(eval $(generic-package))
> 

  reply	other threads:[~2016-07-07 17:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-07  9:33 [Buildroot] [PATCH v3,1/3] alljoyn-base: new package Fabrice Fontaine
2016-07-07  9:33 ` [Buildroot] [PATCH v3,2/3] alljoyn-tcl: " Fabrice Fontaine
2016-07-07 16:59   ` Romain Naour
2016-07-20 20:28   ` Thomas Petazzoni
2016-07-07  9:33 ` [Buildroot] [PATCH v3,3/3] alljoyn-tcl-base: " Fabrice Fontaine
2016-07-07 17:02   ` Romain Naour [this message]
2016-07-20 20:31   ` Thomas Petazzoni
2016-07-07 16:58 ` [Buildroot] [PATCH v3,1/3] alljoyn-base: " Romain Naour
2016-07-20 20:20 ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6c0b36f8-2cda-eb89-e92f-8f887c628bf8@gmail.com \
    --to=romain.naour@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox