summaryrefslogtreecommitdiff
path: root/obsolete-buildroot/make
diff options
context:
space:
mode:
Diffstat (limited to 'obsolete-buildroot/make')
-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 5e63e49..6889e1e 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)