[Buildroot] [PATCH 20/84 RFC] package/nodejs: use 'menuconfig' instead of 'config'+'menu'
Yann E. MORIN
yann.morin.1998 at free.fr
Fri Dec 25 21:24:49 UTC 2015
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
---
package/nodejs/Config.in | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/package/nodejs/Config.in b/package/nodejs/Config.in
index 008fbbf..000e0fb 100644
--- a/package/nodejs/Config.in
+++ b/package/nodejs/Config.in
@@ -5,7 +5,7 @@ comment "nodejs needs a toolchain w/ C++, dynamic library, threads"
depends on !BR2_ARM_CPU_ARMV4
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
-config BR2_PACKAGE_NODEJS
+menuconfig BR2_PACKAGE_NODEJS
bool "nodejs"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_INSTALL_LIBSTDCPP
@@ -62,7 +62,7 @@ config BR2_PACKAGE_NODEJS_VERSION_STRING
default "0.10.41" if BR2_PACKAGE_NODEJS_0_10_X
default "5.3.0" if BR2_PACKAGE_NODEJS_5_X
-menu "Module Selection"
+comment "Module Selection"
config BR2_PACKAGE_NODEJS_NPM
bool "NPM for the target"
@@ -118,6 +118,4 @@ config BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS
'libcurl' here, to ensure that buildroot builds the libcurl package,
and does so before building your node modules.
-endmenu
-
endif
--
1.9.1
More information about the buildroot
mailing list