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"