From 14a71561a388196edbcddfa72d281e911c06266f Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Mon, 1 Oct 2007 16:15:31 +0000 Subject: - just use the strip binary to avoid confusing libtool (quotes) - use $(STRIPCMD) in packages to avoid clashes with $(STRIP) --- target/cloop/cloop.mk | 2 +- target/cpio/cpioroot.mk | 2 +- target/cramfs/cramfs.mk | 4 ++-- target/device/Atmel/u-boot/u-boot.mk | 2 +- target/ext2/ext2root.mk | 2 +- target/initramfs/initramfs.mk | 2 +- target/jffs2/jffs2root.mk | 2 +- target/squashfs/squashfsroot.mk | 2 +- target/tar/tarroot.mk | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) (limited to 'target') diff --git a/target/cloop/cloop.mk b/target/cloop/cloop.mk index 5f55bf5a9..91ff55941 100644 --- a/target/cloop/cloop.mk +++ b/target/cloop/cloop.mk @@ -74,7 +74,7 @@ check-tools: - which symlinks clooproot: cloop check-tools $(IMAGE).cramfs ### cramfsroot - -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true + -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true ifneq ($(BR2_HAVE_MANPAGES),y) @rm -rf $(TARGET_DIR)/usr/man @rm -rf $(TARGET_DIR)/usr/share/man diff --git a/target/cpio/cpioroot.mk b/target/cpio/cpioroot.mk index b1d117c08..3a8d03a0f 100644 --- a/target/cpio/cpioroot.mk +++ b/target/cpio/cpioroot.mk @@ -37,7 +37,7 @@ cpioroot-init: ln -s sbin/init $(TARGET_DIR)/init $(CPIO_BASE): host-fakeroot makedevs cpioroot-init - -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true + -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true ifneq ($(BR2_HAVE_MANPAGES),y) @rm -rf $(TARGET_DIR)/usr/man endif diff --git a/target/cramfs/cramfs.mk b/target/cramfs/cramfs.mk index 9a5e22cf1..d7f358d5c 100644 --- a/target/cramfs/cramfs.mk +++ b/target/cramfs/cramfs.mk @@ -48,8 +48,8 @@ endif CRAMFS_TARGET=$(IMAGE).cramfs cramfsroot: host-fakeroot makedevs cramfs - #-@find $(TARGET_DIR)/lib -type f -name \*.so\* | xargs $(STRIP) --strip-unneeded 2>/dev/null || true - -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true + #-@find $(TARGET_DIR)/lib -type f -name \*.so\* | xargs $(STRIPCMD) --strip-unneeded 2>/dev/null || true + -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true ifneq ($(BR2_HAVE_MANPAGES),y) @rm -rf $(TARGET_DIR)/usr/man endif diff --git a/target/device/Atmel/u-boot/u-boot.mk b/target/device/Atmel/u-boot/u-boot.mk index c89ac39b9..94941dcfc 100644 --- a/target/device/Atmel/u-boot/u-boot.mk +++ b/target/device/Atmel/u-boot/u-boot.mk @@ -213,7 +213,7 @@ uboot-new: UBOOT_TARGET:=$(IMAGE).uboot ubootroot: host-fakeroot makedevs uboot - -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true + -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true @rm -rf $(TARGET_DIR)/usr/man @rm -rf $(TARGET_DIR)/usr/info -/sbin/ldconfig -r $(TARGET_DIR) 2>/dev/null diff --git a/target/ext2/ext2root.mk b/target/ext2/ext2root.mk index 779ffd9bb..574f30cbf 100644 --- a/target/ext2/ext2root.mk +++ b/target/ext2/ext2root.mk @@ -87,7 +87,7 @@ EXT2_TARGET := $(EXT2_BASE) endif $(EXT2_BASE): host-fakeroot makedevs genext2fs - -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true + -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true ifneq ($(BR2_HAVE_MANPAGES),y) @rm -rf $(TARGET_DIR)/usr/man @rm -rf $(TARGET_DIR)/usr/share/man diff --git a/target/initramfs/initramfs.mk b/target/initramfs/initramfs.mk index 28703d672..07f5ec356 100644 --- a/target/initramfs/initramfs.mk +++ b/target/initramfs/initramfs.mk @@ -15,7 +15,7 @@ endif $(INITRAMFS_TARGET) initramfs: host-fakeroot makedevs rm -f $(TARGET_DIR)/init ln -s sbin/init $(TARGET_DIR)/init - -find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true + -find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true ifneq ($(BR2_HAVE_MANPAGES),y) rm -rf $(TARGET_DIR)/usr/man endif diff --git a/target/jffs2/jffs2root.mk b/target/jffs2/jffs2root.mk index de93213b9..6937b8f9d 100644 --- a/target/jffs2/jffs2root.mk +++ b/target/jffs2/jffs2root.mk @@ -49,7 +49,7 @@ endif # just built. # $(JFFS2_TARGET): host-fakeroot makedevs mtd-host - -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true + -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true ifneq ($(BR2_HAVE_MANPAGES),y) @rm -rf $(TARGET_DIR)/usr/man @rm -rf $(TARGET_DIR)/usr/share/man diff --git a/target/squashfs/squashfsroot.mk b/target/squashfs/squashfsroot.mk index a324460b2..2d185d1f3 100644 --- a/target/squashfs/squashfsroot.mk +++ b/target/squashfs/squashfsroot.mk @@ -44,7 +44,7 @@ endif SQUASHFS_TARGET:=$(IMAGE).squashfs squashfsroot: host-fakeroot makedevs squashfs - -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true + -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true ifneq ($(BR2_HAVE_MANPAGES),y) @rm -rf $(TARGET_DIR)/usr/man endif diff --git a/target/tar/tarroot.mk b/target/tar/tarroot.mk index d471548fb..913cf82a1 100644 --- a/target/tar/tarroot.mk +++ b/target/tar/tarroot.mk @@ -23,7 +23,7 @@ TAR_COMPRESSOR_EXT:=lzma endif tarroot: host-fakeroot makedevs - -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIP) 2>/dev/null || true + -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true ifneq ($(BR2_HAVE_MANPAGES),y) @rm -rf $(TARGET_DIR)/usr/man endif -- cgit v1.2.3