mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-12 06:57:57 +04:00
arm_v6 and arm_v7 are taken from the merged kernel config, which describes the kernel and can differ from the userspace ISA: sunxi/arm926ejs inherits CONFIG_CPU_V7=y from its target config and is advertised as ARMv7 although it builds for arm926ej-s, and a promptless symbol such as CPU_V7 cannot be unset in a subtarget config in a way that survives kernel_oldconfig. Derive arm_v6, arm_v6k and arm_v7 from CPU_TYPE, the core the toolchain targets, and keep ARMv6K, which has ldrexd/strexd, apart from plain ARMv6. Signed-off-by: Daniel Golle <daniel@makrotopia.org>