valgrind: fix installation on x86

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32546 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2012-06-29 21:56:32 +00:00
parent 15a91c1240
commit f280771d97

View File

@ -78,6 +78,8 @@ define Package/valgrind/description
to speed up and reduce memory use of your programs. to speed up and reduce memory use of your programs.
endef endef
CPU := $(patsubst x86,i386,$(LINUX_KARCH))
CONFIGURE_VARS += \ CONFIGURE_VARS += \
UNAME_R=$(LINUX_VERSION) UNAME_R=$(LINUX_VERSION)
@ -99,7 +101,7 @@ define Package/valgrind/install
./files/default.supp \ ./files/default.supp \
$(PKG_INSTALL_DIR)/usr/lib/valgrind/none-* \ $(PKG_INSTALL_DIR)/usr/lib/valgrind/none-* \
$(PKG_INSTALL_DIR)/usr/lib/valgrind/vgpreload_core*.so \ $(PKG_INSTALL_DIR)/usr/lib/valgrind/vgpreload_core*.so \
$(PKG_INSTALL_DIR)/usr/lib/valgrind/$(LINUX_KARCH)-*.xml \ $(PKG_INSTALL_DIR)/usr/lib/valgrind/$(CPU)-*.xml \
$(PKG_INSTALL_DIR)/usr/lib/valgrind/32bit-core*.xml \ $(PKG_INSTALL_DIR)/usr/lib/valgrind/32bit-core*.xml \
$(PKG_INSTALL_DIR)/usr/lib/valgrind/32bit-linux*.xml \ $(PKG_INSTALL_DIR)/usr/lib/valgrind/32bit-linux*.xml \
$(PKG_INSTALL_DIR)/usr/lib/valgrind/memcheck-* \ $(PKG_INSTALL_DIR)/usr/lib/valgrind/memcheck-* \