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:
@@ -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 += \
|
||||
|
||||
Reference in New Issue
Block a user