node: don't build on unsupported cpus, remove menu
Node does not support arc or armeb systems. Moved i18 option to straight under node instead of on its own menu. Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
This commit is contained in:
parent
1d00dab07e
commit
8c1d86baad
1 changed files with 6 additions and 3 deletions
|
@ -37,7 +37,10 @@ define Package/node
|
||||||
SUBMENU:=Node.js
|
SUBMENU:=Node.js
|
||||||
TITLE:=Node.js is a platform built on Chrome's JavaScript runtime
|
TITLE:=Node.js is a platform built on Chrome's JavaScript runtime
|
||||||
URL:=https://nodejs.org/
|
URL:=https://nodejs.org/
|
||||||
DEPENDS:=@(HAS_FPU||KERNEL_MIPS_FPU_EMULATOR) +libstdcpp +libopenssl +zlib +libnghttp2 +libuv +libhttp-parser +USE_UCLIBC:libpthread +USE_UCLIBC:librt +NODEJS_ICU:icu
|
DEPENDS:=@(HAS_FPU||KERNEL_MIPS_FPU_EMULATOR) @!arc @!armeb \
|
||||||
|
+libstdcpp +libopenssl +zlib +libnghttp2 +libuv +libhttp-parser \
|
||||||
|
+USE_UCLIBC:libpthread +USE_UCLIBC:librt \
|
||||||
|
+NODEJS_ICU:icu
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/node/description
|
define Package/node/description
|
||||||
|
@ -60,13 +63,13 @@ define Package/node-npm/description
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/node/config
|
define Package/node/config
|
||||||
menu "Module Selection"
|
if PACKAGE_node
|
||||||
|
|
||||||
config NODEJS_ICU
|
config NODEJS_ICU
|
||||||
bool "enable i18n features"
|
bool "enable i18n features"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
endmenu
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
||||||
NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
|
NODEJS_CPU:=$(subst powerpc,ppc,$(subst aarch64,arm64,$(subst x86_64,x64,$(subst i386,ia32,$(ARCH)))))
|
||||||
|
|
Loading…
Reference in a new issue