All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/nodejs: correct license file hash
@ 2019-03-17 20:47 Martin Bark
  2019-03-17 20:48 ` [Buildroot] [PATCH 2/2] package/nodejs: link with libatomic when needed Martin Bark
  2019-03-18 20:57 ` [Buildroot] [PATCH 1/2] package/nodejs: correct license file hash Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Bark @ 2019-03-17 20:47 UTC (permalink / raw)
  To: buildroot

The LICENSE file in nodejs 10.15.3 updated to include additional
3rd party licenses.

Fixes:
 - http://autobuild.buildroot.net/results/4bf66b9f05e9d04171156e44c7dd87619e429747
 - http://autobuild.buildroot.net/results/a65776ba1045f12263a686933eb6a4b5d6ff7333
 - http://autobuild.buildroot.net/results/aab619106a7d763f45e95a7ae3d85816fb4a6512
 - http://autobuild.buildroot.net/results/bb6cb93f323be22e4c0efc05011042526c01f62c

Signed-off-by: Martin Bark <martin@barkynet.com>
---
 package/nodejs/nodejs.hash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/nodejs/nodejs.hash b/package/nodejs/nodejs.hash
index e9c174e662..6cb2cdd5b7 100644
--- a/package/nodejs/nodejs.hash
+++ b/package/nodejs/nodejs.hash
@@ -2,4 +2,4 @@
 sha256 4e22d926f054150002055474e452ed6cbb85860aa7dc5422213a2002ed9791d5  node-v10.15.3.tar.xz
 
 # Hash for license file
-sha256 b87be6c1479ed977481115869c2dd8b6d59e5ea55aa09939d6c898242121b2f5  LICENSE
+sha256 7ab373b3671d57d91078f5345ea9486443c9ca498eb9f8cf87dee2641a6fa09d  LICENSE
-- 
2.21.0

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

* [Buildroot] [PATCH 2/2] package/nodejs: link with libatomic when needed
  2019-03-17 20:47 [Buildroot] [PATCH 1/2] package/nodejs: correct license file hash Martin Bark
@ 2019-03-17 20:48 ` Martin Bark
  2019-03-18 20:57 ` [Buildroot] [PATCH 1/2] package/nodejs: correct license file hash Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Martin Bark @ 2019-03-17 20:48 UTC (permalink / raw)
  To: buildroot

Fixes:
 - http://autobuild.buildroot.net/results/804951467d3f5b212bd33b95dc8fe9c6f5f63838

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

diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
index 5cae449244..2577239e19 100644
--- a/package/nodejs/nodejs.mk
+++ b/package/nodejs/nodejs.mk
@@ -116,6 +116,12 @@ NODEJS_MIPS_ARCH_VARIANT = r1
 endif
 endif
 
+NODEJS_LDFLAGS = $(TARGET_LDFLAGS)
+
+ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
+NODEJS_LDFLAGS += -latomic
+endif
+
 define NODEJS_CONFIGURE_CMDS
 	mkdir -p $(@D)/bin
 	ln -sf $(HOST_DIR)/bin/python2 $(@D)/bin/python
@@ -123,6 +129,7 @@ define NODEJS_CONFIGURE_CMDS
 	(cd $(@D); \
 		$(TARGET_CONFIGURE_OPTS) \
 		PATH=$(@D)/bin:$(BR_PATH) \
+		LDFLAGS="$(NODEJS_LDFLAGS)" \
 		LD="$(TARGET_CXX)" \
 		PYTHON=$(HOST_DIR)/bin/python2 \
 		$(HOST_DIR)/bin/python2 ./configure \
@@ -145,6 +152,7 @@ define NODEJS_BUILD_CMDS
 		$(TARGET_CONFIGURE_OPTS) \
 		NO_LOAD=cctest.target.mk \
 		PATH=$(@D)/bin:$(BR_PATH) \
+		LDFLAGS="$(NODEJS_LDFLAGS)" \
 		LD="$(TARGET_CXX)"
 endef
 
@@ -156,6 +164,7 @@ NODEJS_MODULES_LIST= $(call qstrip,\
 
 # Define NPM for other packages to use
 NPM = $(TARGET_CONFIGURE_OPTS) \
+	LDFLAGS="$(NODEJS_LDFLAGS)" \
 	LD="$(TARGET_CXX)" \
 	npm_config_arch=$(NODEJS_CPU) \
 	npm_config_target_arch=$(NODEJS_CPU) \
@@ -184,6 +193,7 @@ define NODEJS_INSTALL_TARGET_CMDS
 		$(TARGET_CONFIGURE_OPTS) \
 		NO_LOAD=cctest.target.mk \
 		PATH=$(@D)/bin:$(BR_PATH) \
+		LDFLAGS="$(NODEJS_LDFLAGS)" \
 		LD="$(TARGET_CXX)"
 	$(NODEJS_INSTALL_MODULES)
 endef
-- 
2.21.0

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

* [Buildroot] [PATCH 1/2] package/nodejs: correct license file hash
  2019-03-17 20:47 [Buildroot] [PATCH 1/2] package/nodejs: correct license file hash Martin Bark
  2019-03-17 20:48 ` [Buildroot] [PATCH 2/2] package/nodejs: link with libatomic when needed Martin Bark
@ 2019-03-18 20:57 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-03-18 20:57 UTC (permalink / raw)
  To: buildroot

On Sun, 17 Mar 2019 20:47:59 +0000
Martin Bark <martin@barkynet.com> wrote:

> The LICENSE file in nodejs 10.15.3 updated to include additional
> 3rd party licenses.
> 
> Fixes:
>  - http://autobuild.buildroot.net/results/4bf66b9f05e9d04171156e44c7dd87619e429747
>  - http://autobuild.buildroot.net/results/a65776ba1045f12263a686933eb6a4b5d6ff7333
>  - http://autobuild.buildroot.net/results/aab619106a7d763f45e95a7ae3d85816fb4a6512
>  - http://autobuild.buildroot.net/results/bb6cb93f323be22e4c0efc05011042526c01f62c
> 
> Signed-off-by: Martin Bark <martin@barkynet.com>
> ---
>  package/nodejs/nodejs.hash | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Both applied, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2019-03-18 20:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-17 20:47 [Buildroot] [PATCH 1/2] package/nodejs: correct license file hash Martin Bark
2019-03-17 20:48 ` [Buildroot] [PATCH 2/2] package/nodejs: link with libatomic when needed Martin Bark
2019-03-18 20:57 ` [Buildroot] [PATCH 1/2] package/nodejs: correct license file hash Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.