1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 18:49:23 +02:00

fix dependency order for sstrip

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@144 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mbm 2004-08-20 22:02:15 +00:00
parent 25dc417079
commit 54da0f9e4b
2 changed files with 3 additions and 3 deletions

View File

@ -202,8 +202,7 @@ openwrt-rootprep:
###################################################################### ######################################################################
openwrt-prune: $(STAGING_DIR)/bin/sstrip openwrt-base openwrt-prune: openwrt-base $(STAGING_DIR)/bin/sstrip
# -find $(TARGET_DIR) -type f -perm +111 -exec $(STAGING_DIR)/bin/sstrip {} \;
# remove unneeded uClibc libs # remove unneeded uClibc libs
rm -rf $(TARGET_DIR)/lib/libthread_db* rm -rf $(TARGET_DIR)/lib/libthread_db*
rm -rf $(TARGET_DIR)/lib/libpthread* 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-save
rm -f $(TARGET_DIR)/usr/sbin/iptables-restore rm -f $(TARGET_DIR)/usr/sbin/iptables-restore
rm -f $(TARGET_DIR)/usr/sbin/ip6tables rm -f $(TARGET_DIR)/usr/sbin/ip6tables
-@find $(TARGET_DIR) -type f -perm +111 | xargs $(STAGING_DIR)/bin/sstrip 2>/dev/null || true;
###################################################################### ######################################################################

View File

@ -36,7 +36,7 @@ squashfs-dirclean:
squashfsroot: squashfs squashfsroot: squashfs
#-@find $(TARGET_DIR)/lib -type f -name \*.so\* | xargs $(STRIP) --strip-unneeded 2>/dev/null || true; #-@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/man
@rm -rf $(TARGET_DIR)/usr/info @rm -rf $(TARGET_DIR)/usr/info
#$(SQUASHFS_DIR)/squashfs-tools/mksquashfs -q -D $(SOURCE_DIR)/device_table.txt $(TARGET_DIR) $(IMAGE) #$(SQUASHFS_DIR)/squashfs-tools/mksquashfs -q -D $(SOURCE_DIR)/device_table.txt $(TARGET_DIR) $(IMAGE)