valgrind: improve arm v7 detection

The mvebu target has CONFIG_CPU_V7 enabled even for aarch64 target,
resulting CONFIG_arm_v7 to be true, which breaks build there.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen
2026-05-21 17:04:54 +08:00
parent 69e4911e51
commit d123e5d86a
+3 -1
View File
@@ -97,8 +97,10 @@ else
BITS := 32bit
endif
ifeq ($(CONFIG_arm_v7),y)
ifeq ($(ARCH),arm)
ifeq ($(CONFIG_arm_v7),y)
CONFIGURE_ARGS += --host=armv7-openwrt-linux$(if $(TARGET_SUFFIX),-$(TARGET_SUFFIX))
endif
endif
CONFIGURE_ARGS += \