From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas De Schampheleire Date: Thu, 17 Nov 2011 20:41:56 +0100 Subject: [Buildroot] [PATCH 2 of 5 v2] stripping: use findfileclauses utility function In-Reply-To: References: Message-ID: <26239e4561037c19ccfc.1321557991@devws108> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net # HG changeset patch # User Thomas De Schampheleire # Date 1318576710 -7200 # Node ID 26239e4561037c19ccfc7ac7ea216d36a6a8e87e # Parent b6579582d02dd802adca94e2b38972cc19cd8b76 stripping: use findfileclauses utility function Signed-off-by: Thomas De Schampheleire --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile --- a/Makefile +++ b/Makefile @@ -454,7 +454,7 @@ endif ifeq ($(BR2_PACKAGE_PYTHON_PYC_ONLY),y) find $(TARGET_DIR)/usr/lib/ -name '*.py' -print0 | xargs -0 rm -f endif - find $(TARGET_DIR) -type f -perm +111 '!' -name 'libthread_db*.so*' | \ + find $(TARGET_DIR) -type f -perm +111 '!' $(call findfileclauses,libthread_db*.so*) | \ xargs $(STRIPCMD) 2>/dev/null || true find $(TARGET_DIR)/lib/modules -type f -name '*.ko' | \ xargs -r $(KSTRIPCMD) || true