X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/b46fe1c707bc971ac7c06b7545b21c666349f7f9..097635b79bc6ddd6066a8369db6e298a25daa96e:/obsolete-buildroot/make/openwrt.mk?ds=sidebyside diff --git a/obsolete-buildroot/make/openwrt.mk b/obsolete-buildroot/make/openwrt.mk index c7bb8fc03..efe6ebedc 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 | xargs $(STAGING_DIR)/bin/sstrip 2>/dev/null || true; +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,11 +213,13 @@ 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 + rm -f $(TARGET_DIR)/usr/lib/iptables/libip6* + -@find $(TARGET_DIR) -type f -perm +111 | xargs $(STAGING_DIR)/bin/sstrip 2>/dev/null || true; ###################################################################### $(STAGING_DIR)/bin/sstrip: - $(CC) -o $(STAGING_DIR)/bin/sstrip -I$(STAGING_DIR)/mipsel-linux-uclibc/include $(SOURCE_DIR)/openwrt/tools/sstrip.c + $(CC) -o $(STAGING_DIR)/bin/sstrip $(SOURCE_DIR)/openwrt/tools/sstrip.c wrt-tools: $(CC) -o $(WRT54G_DIR)/release/tools/trx $(SOURCE_DIR)/openwrt/tools/trx.c