From: Mike Baker Date: Fri, 20 Aug 2004 22:02:15 +0000 (+0000) Subject: fix dependency order for sstrip X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f0dfe4b88acf3a3e307b4bcf5c6e5485e5aa4ffd;p=librecmc%2Flibrecmc.git fix dependency order for sstrip SVN-Revision: 144 --- diff --git a/obsolete-buildroot/make/openwrt.mk b/obsolete-buildroot/make/openwrt.mk index b8c2c9636e..38fa958758 100644 --- a/obsolete-buildroot/make/openwrt.mk +++ b/obsolete-buildroot/make/openwrt.mk @@ -202,8 +202,7 @@ openwrt-rootprep: ###################################################################### -openwrt-prune: $(STAGING_DIR)/bin/sstrip openwrt-base -# -find $(TARGET_DIR) -type f -perm +111 -exec $(STAGING_DIR)/bin/sstrip {} \; +openwrt-prune: openwrt-base $(STAGING_DIR)/bin/sstrip # remove unneeded uClibc libs rm -rf $(TARGET_DIR)/lib/libthread_db* rm -rf $(TARGET_DIR)/lib/libpthread* @@ -214,6 +213,7 @@ openwrt-prune: $(STAGING_DIR)/bin/sstrip openwrt-base rm -f $(TARGET_DIR)/usr/sbin/iptables-save rm -f $(TARGET_DIR)/usr/sbin/iptables-restore rm -f $(TARGET_DIR)/usr/sbin/ip6tables + -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STAGING_DIR)/bin/sstrip 2>/dev/null || true; ###################################################################### diff --git a/obsolete-buildroot/make/squashfsroot.mk b/obsolete-buildroot/make/squashfsroot.mk index 3e1b34a834..6c66982e29 100644 --- a/obsolete-buildroot/make/squashfsroot.mk +++ b/obsolete-buildroot/make/squashfsroot.mk @@ -36,7 +36,7 @@ squashfs-dirclean: squashfsroot: squashfs #-@find $(TARGET_DIR)/lib -type f -name \*.so\* | xargs $(STRIP) --strip-unneeded 2>/dev/null || true; - -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STAGING_DIR)/bin/sstrip 2>/dev/null || true; + #-@find $(TARGET_DIR) -type f -perm +111 | xargs $(STAGING_DIR)/bin/sstrip 2>/dev/null || true; @rm -rf $(TARGET_DIR)/usr/man @rm -rf $(TARGET_DIR)/usr/info #$(SQUASHFS_DIR)/squashfs-tools/mksquashfs -q -D $(SOURCE_DIR)/device_table.txt $(TARGET_DIR) $(IMAGE)