summaryrefslogtreecommitdiffstats
path: root/target/default/openwrt.mk
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-12 16:17:47 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-12 16:17:47 +0000
commit9980effddafbe1a5f7e3b26588c1b6e66f7e445f (patch)
treedf3eff8b68fd202be5e054b0120b344099f65b5e /target/default/openwrt.mk
parentcb66d57ffec3058ce3011d632811b67cb42f813d (diff)
*** empty log message ***
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@244 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/default/openwrt.mk')
-rw-r--r--target/default/openwrt.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/default/openwrt.mk b/target/default/openwrt.mk
new file mode 100644
index 000000000..89051cd1b
--- /dev/null
+++ b/target/default/openwrt.mk
@@ -0,0 +1,10 @@
+openwrt-linux.trx: openwrt-trx
+ PATH=$(TARGET_PATH) trx -o openwrt-linux.trx $(LINUX_DIR)/$(LINUX_BINLOC) $(IMAGE).$(ROOTFS)
+
+openwrt-gs-code.bin: openwrt-addpattern openwrt-linux.trx
+ PATH=$(TARGET_PATH) addpattern -2 -i openwrt-linux.trx -o openwrt-gs-code.bin -g
+
+openwrt-g-code.bin: openwrt-gs-code.bin
+ sed -e "1s,^W54S,W54G," < openwrt-gs-code.bin > openwrt-g-code.bin
+
+openwrt-image: openwrt-g-code.bin