From 79364d30007873ea4598c99edc1b5f4a6731f284 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 29 Jun 2012 21:56:32 +0000 Subject: [PATCH] valgrind: fix installation on x86 SVN-Revision: 32546 --- 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-* \ -- 2.30.2