summaryrefslogtreecommitdiff
path: root/obsolete-buildroot/make/openwrt.mk
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2004-08-20 22:02:15 +0000
committerMike Baker <mbm@openwrt.org>2004-08-20 22:02:15 +0000
commitf0dfe4b88acf3a3e307b4bcf5c6e5485e5aa4ffd (patch)
tree8b8c5fe9a3f720caba63c0e8bf6687e520f9a76d /obsolete-buildroot/make/openwrt.mk
parent8db2407c74ba037dd1ae2c36dcef71bc20323905 (diff)
downloadmtk-20170518-f0dfe4b88acf3a3e307b4bcf5c6e5485e5aa4ffd.zip
mtk-20170518-f0dfe4b88acf3a3e307b4bcf5c6e5485e5aa4ffd.tar.gz
mtk-20170518-f0dfe4b88acf3a3e307b4bcf5c6e5485e5aa4ffd.tar.bz2
fix dependency order for sstrip
SVN-Revision: 144
Diffstat (limited to 'obsolete-buildroot/make/openwrt.mk')
-rw-r--r--obsolete-buildroot/make/openwrt.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/obsolete-buildroot/make/openwrt.mk b/obsolete-buildroot/make/openwrt.mk
index b8c2c96..38fa958 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;
######################################################################