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>
(cherry picked from commit d123e5d86a)
This commit is contained in:
Tianling Shen
2026-05-21 17:06:20 +08:00
parent 7ab5f9d2c9
commit cba8c54065
+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 += \