nodejs: not supported on old ARM cores
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 12 Jul 2013 00:58:55 +0000 (21:58 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 12 Jul 2013 11:31:47 +0000 (13:31 +0200)
nodejs needs the ARM blx instruction which is only supported in v5t+
cores (v5 ISA with thumb instructions).
Disable it for lower cores. Fixes:
http://autobuild.buildroot.net/results/89e/89ee5ba047a26a8c7a612d0285b08780b70efbd4/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/nodejs/Config.in

index aa65c6f42e7e485206d667fc6b0cc21623d1b354..fea34802fce3caadc3f6cd83d09ab7a3cfbf134a 100644 (file)
@@ -5,6 +5,8 @@ config BR2_PACKAGE_NODEJS
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_arm || BR2_i386 || BR2_x86_64
+       # ARM needs BLX, so v5t+
+       depends on !(BR2_arm7tdmi || BR2_arm720t || BR2_arm920t || BR2_arm922t || BR2_fa526)
        # uses fork()
        depends on BR2_USE_MMU
        help