summaryrefslogtreecommitdiffstats
path: root/package/openwrt/openwrt.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/openwrt/openwrt.mk')
-rw-r--r--package/openwrt/openwrt.mk16
1 files changed, 15 insertions, 1 deletions
diff --git a/package/openwrt/openwrt.mk b/package/openwrt/openwrt.mk
index 5c3f6b105..47d2f55fb 100644
--- a/package/openwrt/openwrt.mk
+++ b/package/openwrt/openwrt.mk
@@ -144,9 +144,23 @@ openwrt-addpattern: $(OPENWRT_ADDPATTERN_TARGET)
openwrt-addpattern-clean:
rm $(OPENWRT_ADDPATTERN_TARGET)
+# sstrip tool
+OPENWRT_SSTRIP_SOURCE=package/openwrt/sstrip.c
+OPENWRT_SSTRIP_TARGET=$(STAGING_DIR)/bin/sstrip
+
+$(OPENWRT_SSTRIP_TARGET):
+ $(CC) -o $(OPENWRT_SSTRIP_TARGET) $(OPENWRT_SSTRIP_SOURCE)
+
+openwrt-sstrip: $(OPENWRT_SSTRIP_TARGET)
+
+openwrt-sstrip-clean:
+ rm $(OPENWRT_SSTRIP_TARGET)
+
+STRIP=$(OPENWRT_SSTRIP_TARGET)
+
linksys: linksys-shared linksys-nvram linksys-wlconf
-openwrt: linksys openwrt-mtd openwrt-trx openwrt-addpattern openwrt-jffs2root
+openwrt: linksys openwrt-mtd openwrt-trx openwrt-addpattern openwrt-jffs2root openwrt-sstrip-clean
openwrt-dirclean: linksys-shared-dirclean linksys-nvram-dirclean linksys-wlconf-dirclean