|
@@ -4,16 +4,18 @@ config BR2_PACKAGE_NODEJS_ARCH_SUPPORTS
|
|
default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 && BR2_ARM_CPU_HAS_VFPV2
|
|
default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 && BR2_ARM_CPU_HAS_VFPV2
|
|
default y if BR2_mipsel && !BR2_MIPS_SOFT_FLOAT
|
|
default y if BR2_mipsel && !BR2_MIPS_SOFT_FLOAT
|
|
default y if BR2_aarch64 || BR2_i386 || BR2_x86_64
|
|
default y if BR2_aarch64 || BR2_i386 || BR2_x86_64
|
|
|
|
+ # libuv
|
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
|
|
|
|
-comment "nodejs needs a toolchain w/ C++, dynamic library, threads, gcc >= 4.8, wchar"
|
|
|
|
|
|
+comment "nodejs needs a toolchain w/ C++, dynamic library, NPTL, gcc >= 4.8, wchar"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS
|
|
- depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
|
|
|
|
+ depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
|
!BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_USE_WCHAR
|
|
!BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_USE_WCHAR
|
|
|
|
|
|
config BR2_PACKAGE_NODEJS
|
|
config BR2_PACKAGE_NODEJS
|
|
bool "nodejs"
|
|
bool "nodejs"
|
|
- depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
|
|
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS
|
|
depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS
|
|
depends on BR2_HOST_GCC_AT_LEAST_4_8
|
|
depends on BR2_HOST_GCC_AT_LEAST_4_8
|
|
@@ -26,6 +28,7 @@ config BR2_PACKAGE_NODEJS
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on !BR2_STATIC_LIBS
|
|
select BR2_PACKAGE_C_ARES
|
|
select BR2_PACKAGE_C_ARES
|
|
select BR2_PACKAGE_LIBHTTPPARSER
|
|
select BR2_PACKAGE_LIBHTTPPARSER
|
|
|
|
+ select BR2_PACKAGE_LIBUV
|
|
select BR2_PACKAGE_ZLIB
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
help
|
|
Event-driven I/O server-side JavaScript environment based on V8.
|
|
Event-driven I/O server-side JavaScript environment based on V8.
|