summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--obsolete-buildroot/make/openwrt.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/obsolete-buildroot/make/openwrt.mk b/obsolete-buildroot/make/openwrt.mk
index 5e63e499e..6889e1ec5 100644
--- a/obsolete-buildroot/make/openwrt.mk
+++ b/obsolete-buildroot/make/openwrt.mk
@@ -235,7 +235,11 @@ openwrt-prune:
######################################################################
-openwrt-linux.trx: openwrt-prune squashfsroot
+wrt-tools:
+ $(CC) -o $(WRT54G_DIR)/release/tools/trx $(SOURCE_DIR)/trx.c
+ $(CC) -o $(WRT54G_DIR)/release/tools/addpattern $(SOURCE_DIR)/addpattern.c
+
+openwrt-linux.trx: openwrt-prune squashfsroot wrt-tools
$(WRT54G_DIR)/release/tools/trx -o openwrt-linux.trx \
$(LINUX_DIR)/$(LINUX_BINLOC) $(IMAGE)