package/nodejs: don't build cctest target
authorMartin Bark <martin@barkynet.com>
Tue, 20 Jun 2017 08:39:01 +0000 (09:39 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Jun 2017 08:43:20 +0000 (10:43 +0200)
cctest is a test package that is built by default.  We don't use of it
and recently it has been failing to build in the host-nodejs builds
so disable it.

Fixes:
http://autobuild.buildroot.net/results/1d7642073d169de941e74dc3a0efba6e992e2de7
http://autobuild.buildroot.net/results/8801109c1976e1c7a08dc4036c6a38efdbb8cd7e
http://autobuild.buildroot.net/results/6d52bc9fef4c9f12f0091e93c020ab2cd4c4c5a1
http://autobuild.buildroot.net/results/a8b8a781bdea668b657311c68b6f0ca0f74169c7

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/nodejs/nodejs.mk

index c757b2501fbd1d905a7701e71f1eabd182324fbd..b5d73be6e0649b3575a3e96a9339cfc13540afb1 100644 (file)
@@ -68,6 +68,7 @@ define HOST_NODEJS_BUILD_CMDS
        $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/usr/bin/python2 \
                $(MAKE) -C $(@D) \
                $(HOST_CONFIGURE_OPTS) \
+               NO_LOAD=cctest.target.mk \
                PATH=$(@D)/bin:$(BR_PATH)
 endef
 
@@ -75,6 +76,7 @@ define HOST_NODEJS_INSTALL_CMDS
        $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/usr/bin/python2 \
                $(MAKE) -C $(@D) install \
                $(HOST_CONFIGURE_OPTS) \
+               NO_LOAD=cctest.target.mk \
                PATH=$(@D)/bin:$(BR_PATH)
 
        $(INSTALL) -m755 -D $(@D)/out/Release/mkpeephole $(HOST_DIR)/usr/bin/mkpeephole
@@ -134,6 +136,7 @@ define NODEJS_BUILD_CMDS
        $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/usr/bin/python2 \
                $(MAKE) -C $(@D) \
                $(TARGET_CONFIGURE_OPTS) \
+               NO_LOAD=cctest.target.mk \
                PATH=$(@D)/bin:$(BR_PATH) \
                LD="$(TARGET_CXX)"
 endef
@@ -171,6 +174,7 @@ define NODEJS_INSTALL_TARGET_CMDS
                $(MAKE) -C $(@D) install \
                DESTDIR=$(TARGET_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
+               NO_LOAD=cctest.target.mk \
                PATH=$(@D)/bin:$(BR_PATH) \
                LD="$(TARGET_CXX)"
        $(NODEJS_INSTALL_MODULES)