aboutsummaryrefslogtreecommitdiffstats
path: root/target/default
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
commit0d02f6204c806a00a2049c12fc1d705174005a8f (patch)
treedf3eff8b68fd202be5e054b0120b344099f65b5e /target/default
parent6437b7994c9a8f9bbca5949db51d433607300a9a (diff)
downloadupstream-0d02f6204c806a00a2049c12fc1d705174005a8f.tar.gz
upstream-0d02f6204c806a00a2049c12fc1d705174005a8f.tar.bz2
upstream-0d02f6204c806a00a2049c12fc1d705174005a8f.zip
*** empty log message ***
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@244 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/default')
-rw-r--r--target/default/Makefile.in1
-rw-r--r--target/default/openwrt.mk10
2 files changed, 11 insertions, 0 deletions
diff --git a/target/default/Makefile.in b/target/default/Makefile.in
new file mode 100644
index 0000000000..872750df41
--- /dev/null
+++ b/target/default/Makefile.in
@@ -0,0 +1 @@
+TARGETS+=openwrt-image
diff --git a/target/default/openwrt.mk b/target/default/openwrt.mk
new file mode 100644
index 0000000000..89051cd1bf
--- /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