libunwind: needs ARM instruction support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sat, 23 Jul 2016 15:24:34 +0000 (12:24 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 23 Jul 2016 20:58:44 +0000 (22:58 +0200)
Fixes:
http://autobuild.buildroot.net/results/4cf/4cf517cd81d3aa5da26848edaba5df0bfbab2c77/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libunwind/Config.in

index 593172fc23a7a495390962d2010e97bc8efc37f5..a70d9e88957d2d27c93369acc020f830db42f8b0 100644 (file)
 config BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
        bool
        default y if BR2_TOOLCHAIN_USES_GLIBC && \
-               (BR2_arm || BR2_armeb || BR2_mips || BR2_mipsel || BR2_mips64 || \
+               ((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) || \
+               (BR2_mips || BR2_mipsel || BR2_mips64 || \
                 BR2_mips64el || BR2_powerpc || BR2_sh || BR2_sh64 || BR2_i386 || BR2_x86_64)
        default y if BR2_TOOLCHAIN_USES_UCLIBC && \
-               (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel || \
+               ((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) || \
+               (BR2_i386 || BR2_mips || BR2_mipsel || \
                 BR2_mips64 || BR2_mips64el || BR2_x86_64)
        default y if BR2_TOOLCHAIN_USES_MUSL && \
-               (BR2_arm || BR2_armeb || BR2_i386 || BR2_x86_64)
+               ((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) || \
+               (BR2_i386 || BR2_x86_64)
 
 config BR2_PACKAGE_LIBUNWIND
        bool "libunwind"