summaryrefslogtreecommitdiff
path: root/openwrt/target
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2005-02-12 16:17:47 +0000
committerMike Baker <mbm@openwrt.org>2005-02-12 16:17:47 +0000
commitdeb597fcc6e7c5cb778cf0ccd1b71873491380cf (patch)
tree9a3af06dcebd5b7fb12c4ae9f407d9bb1da85f81 /openwrt/target
parent12b57f6a9991070d82409012d0b621c94fa4a7b0 (diff)
downloadmtk-20170518-deb597fcc6e7c5cb778cf0ccd1b71873491380cf.zip
mtk-20170518-deb597fcc6e7c5cb778cf0ccd1b71873491380cf.tar.gz
mtk-20170518-deb597fcc6e7c5cb778cf0ccd1b71873491380cf.tar.bz2
*** empty log message ***
SVN-Revision: 244
Diffstat (limited to 'openwrt/target')
-rw-r--r--openwrt/target/default/Makefile.in1
-rw-r--r--openwrt/target/default/openwrt.mk10
2 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/target/default/Makefile.in b/openwrt/target/default/Makefile.in
new file mode 100644
index 0000000..872750d
--- /dev/null
+++ b/openwrt/target/default/Makefile.in
@@ -0,0 +1 @@
+TARGETS+=openwrt-image
diff --git a/openwrt/target/default/openwrt.mk b/openwrt/target/default/openwrt.mk
new file mode 100644
index 0000000..89051cd
--- /dev/null
+++ b/openwrt/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