nodejs: use BR2_ARM_CPU_ARM* options
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 21 Oct 2014 20:26:58 +0000 (22:26 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 6 Nov 2014 22:45:31 +0000 (23:45 +0100)
Adjust the nodejs Config.in dependencies to use the per ARM
architecture BR2_ARM_CPU_ARM* options instead of the per ARM core
options.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/nodejs/Config.in

index 077a043ddb41c9191feeedb1341ae2e85da620cb..47e80ec64605df3cf0f7a554318492e73309cf17 100644 (file)
@@ -7,7 +7,7 @@ config BR2_PACKAGE_NODEJS
        depends on BR2_arm || BR2_i386 || BR2_x86_64 || BR2_mipsel
        depends on !BR2_MIPS_SOFT_FLOAT
        # ARM needs BLX, so v5t+
-       depends on !(BR2_arm920t || BR2_arm922t || BR2_fa526)
+       depends on !BR2_ARM_CPU_ARMV4
        # uses fork()
        depends on BR2_USE_MMU
        select BR2_PACKAGE_ZLIB
@@ -19,7 +19,7 @@ config BR2_PACKAGE_NODEJS
 comment "nodejs needs a toolchain w/ C++, IPv6, largefile, threads"
        depends on BR2_USE_MMU
        depends on BR2_arm || BR2_i386 || BR2_x86_64 || BR2_mipsel
-       depends on !(BR2_arm920t || BR2_arm922t || BR2_fa526)
+       depends on !BR2_ARM_CPU_ARMV4
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_LARGEFILE || \
                !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INET_IPV6