From f280771d97a36593c1827d9274771ecdda1991a8 Mon Sep 17 00:00:00 2001 From: nbd Date: Fri, 29 Jun 2012 21:56:32 +0000 Subject: [PATCH] valgrind: fix installation on x86 git-svn-id: svn://svn.openwrt.org/openwrt/packages@32546 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/valgrind/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/valgrind/Makefile b/utils/valgrind/Makefile index 128a5c9af..68af36c52 100644 --- a/utils/valgrind/Makefile +++ b/utils/valgrind/Makefile @@ -78,6 +78,8 @@ define Package/valgrind/description to speed up and reduce memory use of your programs. endef +CPU := $(patsubst x86,i386,$(LINUX_KARCH)) + CONFIGURE_VARS += \ UNAME_R=$(LINUX_VERSION) @@ -99,7 +101,7 @@ define Package/valgrind/install ./files/default.supp \ $(PKG_INSTALL_DIR)/usr/lib/valgrind/none-* \ $(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-linux*.xml \ $(PKG_INSTALL_DIR)/usr/lib/valgrind/memcheck-* \