mirror of
https://dev.iopsys.eu/iopsys/iopsyswrt.git
synced 2025-12-20 00:52:33 +08:00
valgrind: BCM968460 has asymmetric NEON/VFP support.
Disable the use of these extensions so we don't try to run illegal instructions depending on the CPU core being used.
This commit is contained in:
committed by
Andreas Gnau
parent
6460c70caa
commit
2ce8ecd9ea
@@ -22,6 +22,7 @@ PKG_CPE_ID:=cpe:/a:valgrind:valgrind
|
||||
PKG_FIXUP = autoreconf
|
||||
PKG_INSTALL := 1
|
||||
PKG_BUILD_PARALLEL := 1
|
||||
PKG_FLAGS:=nonshared
|
||||
PKG_BUILD_FLAGS:=no-mips16
|
||||
PKG_SSP:=0
|
||||
|
||||
@@ -109,6 +110,12 @@ CONFIGURE_ARGS += \
|
||||
--without-included-gettext \
|
||||
--with-pagesize=4 \
|
||||
|
||||
ifeq ($(or $(filter y,$(CONFIG_TARGET_brcmbca_bcm963138)),$(filter y,$(CONFIG_TARGET_brcmbca_bcm96846)),$(filter y,$(CONFIG_TARGET_brcmbca_bcm96878))),y)
|
||||
CONFIGURE_VARS += \
|
||||
vg_cv_arm_neon_autodetection=no \
|
||||
vg_cv_arm_vfp_autodetection=no
|
||||
endif
|
||||
|
||||
define Package/valgrind/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/valgrind* $(1)/usr/bin/
|
||||
|
||||
Reference in New Issue
Block a user