summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libunwind/Config.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/package/libunwind/Config.in b/package/libunwind/Config.in
index 593172fc23..a70d9e8895 100644
--- a/package/libunwind/Config.in
+++ b/package/libunwind/Config.in
@@ -10,13 +10,16 @@
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"
OpenPOWER on IntegriCloud