compile and use the addpattern.c/trx.c multi arch open source replacement wrt-tools...
authorNed Ludd <solar@gentoo.org>
Thu, 29 Jul 2004 20:47:26 +0000 (20:47 +0000)
committerNed Ludd <solar@gentoo.org>
Thu, 29 Jul 2004 20:47:26 +0000 (20:47 +0000)
SVN-Revision: 115

obsolete-buildroot/make/openwrt.mk

index 5e63e499edf9478377594cd50a606a86ef788ecd..6889e1ec56bce637d319bb7025422844e469381c 100644 (file)
@@ -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)