summaryrefslogtreecommitdiff
path: root/obsolete-buildroot
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2004-07-29 20:47:26 +0000
committerNed Ludd <solar@gentoo.org>2004-07-29 20:47:26 +0000
commit924183216d26b5d26e0afbc3d6cf529de2173593 (patch)
treeeafcd3befb50bff33393e7e9152f8b025ffc8059 /obsolete-buildroot
parentdc1a8674ac0341a41454fbe0f2a8d3240b2eb8c2 (diff)
downloadmtk-20170518-924183216d26b5d26e0afbc3d6cf529de2173593.zip
mtk-20170518-924183216d26b5d26e0afbc3d6cf529de2173593.tar.gz
mtk-20170518-924183216d26b5d26e0afbc3d6cf529de2173593.tar.bz2
compile and use the addpattern.c/trx.c multi arch open source replacement wrt-tools-0.80 from Manuel Novoa III <mjn3@codepoet.org>
SVN-Revision: 115
Diffstat (limited to 'obsolete-buildroot')
-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)