Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/4] package/nodejs: Add NODEJS_CONF_OPTS
@ 2016-06-03 19:15 Martin Bark
  2016-06-03 19:15 ` [Buildroot] [PATCH 2/4] package/nodejs: Update icu to use NODEJS_CONF_OPTS Martin Bark
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Martin Bark @ 2016-06-03 19:15 UTC (permalink / raw)
  To: buildroot

Most packages in buildroot pass a FOO_CONF_OPTS variable into the
configure script.  Transition nodejs to follow this convention.

Signed-off-by: Martin Bark <martin@barkynet.com>
---
 package/nodejs/nodejs.mk | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
index 0329299..b78ba79 100644
--- a/package/nodejs/nodejs.mk
+++ b/package/nodejs/nodejs.mk
@@ -13,6 +13,12 @@ HOST_NODEJS_DEPENDENCIES = host-python host-zlib
 NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components)
 NODEJS_LICENSE_FILES = LICENSE
 
+NODEJS_CONF_OPTS = --without-snapshot \
+	--shared-zlib \
+	--without-dtrace \
+	--without-etw \
+	--dest-os=linux
+
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 NODEJS_DEPENDENCIES += openssl
 endif
@@ -97,18 +103,14 @@ define NODEJS_CONFIGURE_CMDS
 		PYTHON=$(HOST_DIR)/usr/bin/python2 \
 		$(HOST_DIR)/usr/bin/python2 ./configure \
 		--prefix=/usr \
-		--without-snapshot \
-		--shared-zlib \
 		$(if $(BR2_PACKAGE_OPENSSL),--shared-openssl,--without-ssl) \
 		$(if $(BR2_PACKAGE_ICU),--with-intl=system-icu,--with-intl=none) \
 		$(if $(BR2_PACKAGE_NODEJS_NPM),,--without-npm) \
-		--without-dtrace \
-		--without-etw \
 		--dest-cpu=$(NODEJS_CPU) \
 		$(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \
 		$(if $(NODEJS_MIPS_ARCH_VARIANT),--with-mips-arch-variant=$(NODEJS_MIPS_ARCH_VARIANT)) \
 		$(if $(NODEJS_MIPS_FPU_MODE),--with-mips-fpu-mode=$(NODEJS_MIPS_FPU_MODE)) \
-		--dest-os=linux \
+		$(NODEJS_CONF_OPTS) \
 	)
 endef
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 2/4] package/nodejs: Update icu to use NODEJS_CONF_OPTS
  2016-06-03 19:15 [Buildroot] [PATCH 1/4] package/nodejs: Add NODEJS_CONF_OPTS Martin Bark
@ 2016-06-03 19:15 ` Martin Bark
  2016-06-04 10:07   ` Yann E. MORIN
  2016-06-03 19:15 ` [Buildroot] [PATCH 3/4] package/nodejs: Update openssl " Martin Bark
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Martin Bark @ 2016-06-03 19:15 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Martin Bark <martin@barkynet.com>
---
 package/nodejs/nodejs.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
index b78ba79..e5844b0 100644
--- a/package/nodejs/nodejs.mk
+++ b/package/nodejs/nodejs.mk
@@ -25,6 +25,9 @@ endif
 
 ifeq ($(BR2_PACKAGE_ICU),y)
 NODEJS_DEPENDENCIES += icu
+NODEJS_CONF_OPTS += --with-intl=system-icu
+else
+NODEJS_CONF_OPTS += --with-intl=none
 endif
 
 # nodejs build system is based on python, but only support python-2.6 or
@@ -104,7 +107,6 @@ define NODEJS_CONFIGURE_CMDS
 		$(HOST_DIR)/usr/bin/python2 ./configure \
 		--prefix=/usr \
 		$(if $(BR2_PACKAGE_OPENSSL),--shared-openssl,--without-ssl) \
-		$(if $(BR2_PACKAGE_ICU),--with-intl=system-icu,--with-intl=none) \
 		$(if $(BR2_PACKAGE_NODEJS_NPM),,--without-npm) \
 		--dest-cpu=$(NODEJS_CPU) \
 		$(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 3/4] package/nodejs: Update openssl to use NODEJS_CONF_OPTS
  2016-06-03 19:15 [Buildroot] [PATCH 1/4] package/nodejs: Add NODEJS_CONF_OPTS Martin Bark
  2016-06-03 19:15 ` [Buildroot] [PATCH 2/4] package/nodejs: Update icu to use NODEJS_CONF_OPTS Martin Bark
@ 2016-06-03 19:15 ` Martin Bark
  2016-06-04 10:07   ` Yann E. MORIN
  2016-06-03 19:15 ` [Buildroot] [PATCH 4/4] package/nodejs: Update npm " Martin Bark
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 11+ messages in thread
From: Martin Bark @ 2016-06-03 19:15 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Martin Bark <martin@barkynet.com>
---
 package/nodejs/nodejs.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
index e5844b0..aff73e8 100644
--- a/package/nodejs/nodejs.mk
+++ b/package/nodejs/nodejs.mk
@@ -21,6 +21,9 @@ NODEJS_CONF_OPTS = --without-snapshot \
 
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 NODEJS_DEPENDENCIES += openssl
+NODEJS_CONF_OPTS += --shared-openssl
+else
+NODEJS_CONF_OPTS += --without-ssl
 endif
 
 ifeq ($(BR2_PACKAGE_ICU),y)
@@ -106,7 +109,6 @@ define NODEJS_CONFIGURE_CMDS
 		PYTHON=$(HOST_DIR)/usr/bin/python2 \
 		$(HOST_DIR)/usr/bin/python2 ./configure \
 		--prefix=/usr \
-		$(if $(BR2_PACKAGE_OPENSSL),--shared-openssl,--without-ssl) \
 		$(if $(BR2_PACKAGE_NODEJS_NPM),,--without-npm) \
 		--dest-cpu=$(NODEJS_CPU) \
 		$(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 4/4] package/nodejs: Update npm to use NODEJS_CONF_OPTS
  2016-06-03 19:15 [Buildroot] [PATCH 1/4] package/nodejs: Add NODEJS_CONF_OPTS Martin Bark
  2016-06-03 19:15 ` [Buildroot] [PATCH 2/4] package/nodejs: Update icu to use NODEJS_CONF_OPTS Martin Bark
  2016-06-03 19:15 ` [Buildroot] [PATCH 3/4] package/nodejs: Update openssl " Martin Bark
@ 2016-06-03 19:15 ` Martin Bark
  2016-06-04 10:08   ` Yann E. MORIN
  2016-06-04 10:06 ` [Buildroot] [PATCH 1/4] package/nodejs: Add NODEJS_CONF_OPTS Yann E. MORIN
  2016-06-04 12:33 ` Thomas Petazzoni
  4 siblings, 1 reply; 11+ messages in thread
From: Martin Bark @ 2016-06-03 19:15 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Martin Bark <martin@barkynet.com>
---
 package/nodejs/nodejs.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
index aff73e8..f8f819f 100644
--- a/package/nodejs/nodejs.mk
+++ b/package/nodejs/nodejs.mk
@@ -33,6 +33,10 @@ else
 NODEJS_CONF_OPTS += --with-intl=none
 endif
 
+ifneq ($(BR2_PACKAGE_NODEJS_NPM),y)
+NODEJS_CONF_OPTS += --without-npm
+endif
+
 # nodejs build system is based on python, but only support python-2.6 or
 # python-2.7. So, we have to enforce PYTHON interpreter to be python2.
 define HOST_NODEJS_CONFIGURE_CMDS
@@ -109,7 +113,6 @@ define NODEJS_CONFIGURE_CMDS
 		PYTHON=$(HOST_DIR)/usr/bin/python2 \
 		$(HOST_DIR)/usr/bin/python2 ./configure \
 		--prefix=/usr \
-		$(if $(BR2_PACKAGE_NODEJS_NPM),,--without-npm) \
 		--dest-cpu=$(NODEJS_CPU) \
 		$(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \
 		$(if $(NODEJS_MIPS_ARCH_VARIANT),--with-mips-arch-variant=$(NODEJS_MIPS_ARCH_VARIANT)) \
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 1/4] package/nodejs: Add NODEJS_CONF_OPTS
  2016-06-03 19:15 [Buildroot] [PATCH 1/4] package/nodejs: Add NODEJS_CONF_OPTS Martin Bark
                   ` (2 preceding siblings ...)
  2016-06-03 19:15 ` [Buildroot] [PATCH 4/4] package/nodejs: Update npm " Martin Bark
@ 2016-06-04 10:06 ` Yann E. MORIN
  2016-06-04 12:33   ` Thomas Petazzoni
  2016-06-04 12:33 ` Thomas Petazzoni
  4 siblings, 1 reply; 11+ messages in thread
From: Yann E. MORIN @ 2016-06-04 10:06 UTC (permalink / raw)
  To: buildroot

Martin, All,

On 2016-06-03 20:15 +0100, Martin Bark spake thusly:
> Most packages in buildroot pass a FOO_CONF_OPTS variable into the
> configure script.  Transition nodejs to follow this convention.
> 
> Signed-off-by: Martin Bark <martin@barkynet.com>
> ---
>  package/nodejs/nodejs.mk | 12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)
> 
> diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
> index 0329299..b78ba79 100644
> --- a/package/nodejs/nodejs.mk
> +++ b/package/nodejs/nodejs.mk
> @@ -13,6 +13,12 @@ HOST_NODEJS_DEPENDENCIES = host-python host-zlib
>  NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components)
>  NODEJS_LICENSE_FILES = LICENSE
>  
> +NODEJS_CONF_OPTS = --without-snapshot \
> +	--shared-zlib \
> +	--without-dtrace \
> +	--without-etw \
> +	--dest-os=linux

When we have multi-line variables, I prefer that we write all options on
multi-line and none on the first line:

    NODEJS_CONF_OPTS = \
        --without-snapshot \
        --shared-zlib \
        --without-dtrace \
        --without-etw \
        --dest-os=linux

Otehrwise, looks good:

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

>  ifeq ($(BR2_PACKAGE_OPENSSL),y)
>  NODEJS_DEPENDENCIES += openssl
>  endif
> @@ -97,18 +103,14 @@ define NODEJS_CONFIGURE_CMDS
>  		PYTHON=$(HOST_DIR)/usr/bin/python2 \
>  		$(HOST_DIR)/usr/bin/python2 ./configure \
>  		--prefix=/usr \
> -		--without-snapshot \
> -		--shared-zlib \
>  		$(if $(BR2_PACKAGE_OPENSSL),--shared-openssl,--without-ssl) \
>  		$(if $(BR2_PACKAGE_ICU),--with-intl=system-icu,--with-intl=none) \
>  		$(if $(BR2_PACKAGE_NODEJS_NPM),,--without-npm) \
> -		--without-dtrace \
> -		--without-etw \
>  		--dest-cpu=$(NODEJS_CPU) \
>  		$(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \
>  		$(if $(NODEJS_MIPS_ARCH_VARIANT),--with-mips-arch-variant=$(NODEJS_MIPS_ARCH_VARIANT)) \
>  		$(if $(NODEJS_MIPS_FPU_MODE),--with-mips-fpu-mode=$(NODEJS_MIPS_FPU_MODE)) \
> -		--dest-os=linux \
> +		$(NODEJS_CONF_OPTS) \
>  	)
>  endef
>  
> -- 
> 2.7.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 2/4] package/nodejs: Update icu to use NODEJS_CONF_OPTS
  2016-06-03 19:15 ` [Buildroot] [PATCH 2/4] package/nodejs: Update icu to use NODEJS_CONF_OPTS Martin Bark
@ 2016-06-04 10:07   ` Yann E. MORIN
  0 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2016-06-04 10:07 UTC (permalink / raw)
  To: buildroot

Martin, All,

On 2016-06-03 20:15 +0100, Martin Bark spake thusly:
> Signed-off-by: Martin Bark <martin@barkynet.com>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/nodejs/nodejs.mk | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
> index b78ba79..e5844b0 100644
> --- a/package/nodejs/nodejs.mk
> +++ b/package/nodejs/nodejs.mk
> @@ -25,6 +25,9 @@ endif
>  
>  ifeq ($(BR2_PACKAGE_ICU),y)
>  NODEJS_DEPENDENCIES += icu
> +NODEJS_CONF_OPTS += --with-intl=system-icu
> +else
> +NODEJS_CONF_OPTS += --with-intl=none
>  endif
>  
>  # nodejs build system is based on python, but only support python-2.6 or
> @@ -104,7 +107,6 @@ define NODEJS_CONFIGURE_CMDS
>  		$(HOST_DIR)/usr/bin/python2 ./configure \
>  		--prefix=/usr \
>  		$(if $(BR2_PACKAGE_OPENSSL),--shared-openssl,--without-ssl) \
> -		$(if $(BR2_PACKAGE_ICU),--with-intl=system-icu,--with-intl=none) \
>  		$(if $(BR2_PACKAGE_NODEJS_NPM),,--without-npm) \
>  		--dest-cpu=$(NODEJS_CPU) \
>  		$(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \
> -- 
> 2.7.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 3/4] package/nodejs: Update openssl to use NODEJS_CONF_OPTS
  2016-06-03 19:15 ` [Buildroot] [PATCH 3/4] package/nodejs: Update openssl " Martin Bark
@ 2016-06-04 10:07   ` Yann E. MORIN
  0 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2016-06-04 10:07 UTC (permalink / raw)
  To: buildroot

Martin, All,

On 2016-06-03 20:15 +0100, Martin Bark spake thusly:
> Signed-off-by: Martin Bark <martin@barkynet.com>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/nodejs/nodejs.mk | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
> index e5844b0..aff73e8 100644
> --- a/package/nodejs/nodejs.mk
> +++ b/package/nodejs/nodejs.mk
> @@ -21,6 +21,9 @@ NODEJS_CONF_OPTS = --without-snapshot \
>  
>  ifeq ($(BR2_PACKAGE_OPENSSL),y)
>  NODEJS_DEPENDENCIES += openssl
> +NODEJS_CONF_OPTS += --shared-openssl
> +else
> +NODEJS_CONF_OPTS += --without-ssl
>  endif
>  
>  ifeq ($(BR2_PACKAGE_ICU),y)
> @@ -106,7 +109,6 @@ define NODEJS_CONFIGURE_CMDS
>  		PYTHON=$(HOST_DIR)/usr/bin/python2 \
>  		$(HOST_DIR)/usr/bin/python2 ./configure \
>  		--prefix=/usr \
> -		$(if $(BR2_PACKAGE_OPENSSL),--shared-openssl,--without-ssl) \
>  		$(if $(BR2_PACKAGE_NODEJS_NPM),,--without-npm) \
>  		--dest-cpu=$(NODEJS_CPU) \
>  		$(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \
> -- 
> 2.7.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 4/4] package/nodejs: Update npm to use NODEJS_CONF_OPTS
  2016-06-03 19:15 ` [Buildroot] [PATCH 4/4] package/nodejs: Update npm " Martin Bark
@ 2016-06-04 10:08   ` Yann E. MORIN
  2016-06-05 18:14     ` Martin Bark
  0 siblings, 1 reply; 11+ messages in thread
From: Yann E. MORIN @ 2016-06-04 10:08 UTC (permalink / raw)
  To: buildroot

Martin, All,

On 2016-06-03 20:15 +0100, Martin Bark spake thusly:
> Signed-off-by: Martin Bark <martin@barkynet.com>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

> ---
>  package/nodejs/nodejs.mk | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
> index aff73e8..f8f819f 100644
> --- a/package/nodejs/nodejs.mk
> +++ b/package/nodejs/nodejs.mk
> @@ -33,6 +33,10 @@ else
>  NODEJS_CONF_OPTS += --with-intl=none
>  endif
>  
> +ifneq ($(BR2_PACKAGE_NODEJS_NPM),y)
> +NODEJS_CONF_OPTS += --without-npm
> +endif
> +
>  # nodejs build system is based on python, but only support python-2.6 or
>  # python-2.7. So, we have to enforce PYTHON interpreter to be python2.
>  define HOST_NODEJS_CONFIGURE_CMDS
> @@ -109,7 +113,6 @@ define NODEJS_CONFIGURE_CMDS
>  		PYTHON=$(HOST_DIR)/usr/bin/python2 \
>  		$(HOST_DIR)/usr/bin/python2 ./configure \
>  		--prefix=/usr \
> -		$(if $(BR2_PACKAGE_NODEJS_NPM),,--without-npm) \
>  		--dest-cpu=$(NODEJS_CPU) \
>  		$(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \
>  		$(if $(NODEJS_MIPS_ARCH_VARIANT),--with-mips-arch-variant=$(NODEJS_MIPS_ARCH_VARIANT)) \

IMHO, it would have been good to also handle the remaining, arch options
with the _CONF_OPTS variable as well.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 1/4] package/nodejs: Add NODEJS_CONF_OPTS
  2016-06-03 19:15 [Buildroot] [PATCH 1/4] package/nodejs: Add NODEJS_CONF_OPTS Martin Bark
                   ` (3 preceding siblings ...)
  2016-06-04 10:06 ` [Buildroot] [PATCH 1/4] package/nodejs: Add NODEJS_CONF_OPTS Yann E. MORIN
@ 2016-06-04 12:33 ` Thomas Petazzoni
  4 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2016-06-04 12:33 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri,  3 Jun 2016 20:15:43 +0100, Martin Bark wrote:
> Most packages in buildroot pass a FOO_CONF_OPTS variable into the
> configure script.  Transition nodejs to follow this convention.
> 
> Signed-off-by: Martin Bark <martin@barkynet.com>
> ---
>  package/nodejs/nodejs.mk | 12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)

Thanks, series applied!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 1/4] package/nodejs: Add NODEJS_CONF_OPTS
  2016-06-04 10:06 ` [Buildroot] [PATCH 1/4] package/nodejs: Add NODEJS_CONF_OPTS Yann E. MORIN
@ 2016-06-04 12:33   ` Thomas Petazzoni
  0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2016-06-04 12:33 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat, 4 Jun 2016 12:06:45 +0200, Yann E. MORIN wrote:

> When we have multi-line variables, I prefer that we write all options on
> multi-line and none on the first line:

I've fixed this when applying. Thanks for the review!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [Buildroot] [PATCH 4/4] package/nodejs: Update npm to use NODEJS_CONF_OPTS
  2016-06-04 10:08   ` Yann E. MORIN
@ 2016-06-05 18:14     ` Martin Bark
  0 siblings, 0 replies; 11+ messages in thread
From: Martin Bark @ 2016-06-05 18:14 UTC (permalink / raw)
  To: buildroot

Yann,

On 4 June 2016 at 11:08, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> Martin, All,
>
> On 2016-06-03 20:15 +0100, Martin Bark spake thusly:
>> Signed-off-by: Martin Bark <martin@barkynet.com>
>
> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
>
>> ---
>>  package/nodejs/nodejs.mk | 5 ++++-
>>  1 file changed, 4 insertions(+), 1 deletion(-)
>>
>> diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
>> index aff73e8..f8f819f 100644
>> --- a/package/nodejs/nodejs.mk
>> +++ b/package/nodejs/nodejs.mk
>> @@ -33,6 +33,10 @@ else
>>  NODEJS_CONF_OPTS += --with-intl=none
>>  endif
>>
>> +ifneq ($(BR2_PACKAGE_NODEJS_NPM),y)
>> +NODEJS_CONF_OPTS += --without-npm
>> +endif
>> +
>>  # nodejs build system is based on python, but only support python-2.6 or
>>  # python-2.7. So, we have to enforce PYTHON interpreter to be python2.
>>  define HOST_NODEJS_CONFIGURE_CMDS
>> @@ -109,7 +113,6 @@ define NODEJS_CONFIGURE_CMDS
>>               PYTHON=$(HOST_DIR)/usr/bin/python2 \
>>               $(HOST_DIR)/usr/bin/python2 ./configure \
>>               --prefix=/usr \
>> -             $(if $(BR2_PACKAGE_NODEJS_NPM),,--without-npm) \
>>               --dest-cpu=$(NODEJS_CPU) \
>>               $(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \
>>               $(if $(NODEJS_MIPS_ARCH_VARIANT),--with-mips-arch-variant=$(NODEJS_MIPS_ARCH_VARIANT)) \
>
> IMHO, it would have been good to also handle the remaining, arch options
> with the _CONF_OPTS variable as well.

yes i agree.  I will submit some other patches to handle them too.

Thanks

Martin

>
> Regards,
> Yann E. MORIN.
>
> --
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> '------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-06-05 18:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-03 19:15 [Buildroot] [PATCH 1/4] package/nodejs: Add NODEJS_CONF_OPTS Martin Bark
2016-06-03 19:15 ` [Buildroot] [PATCH 2/4] package/nodejs: Update icu to use NODEJS_CONF_OPTS Martin Bark
2016-06-04 10:07   ` Yann E. MORIN
2016-06-03 19:15 ` [Buildroot] [PATCH 3/4] package/nodejs: Update openssl " Martin Bark
2016-06-04 10:07   ` Yann E. MORIN
2016-06-03 19:15 ` [Buildroot] [PATCH 4/4] package/nodejs: Update npm " Martin Bark
2016-06-04 10:08   ` Yann E. MORIN
2016-06-05 18:14     ` Martin Bark
2016-06-04 10:06 ` [Buildroot] [PATCH 1/4] package/nodejs: Add NODEJS_CONF_OPTS Yann E. MORIN
2016-06-04 12:33   ` Thomas Petazzoni
2016-06-04 12:33 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox