From 9980effddafbe1a5f7e3b26588c1b6e66f7e445f Mon Sep 17 00:00:00 2001 From: mbm Date: Sat, 12 Feb 2005 16:17:47 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@244 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/default/Makefile.in | 1 + target/default/openwrt.mk | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 target/default/Makefile.in create mode 100644 target/default/openwrt.mk diff --git a/target/default/Makefile.in b/target/default/Makefile.in new file mode 100644 index 000000000..872750df4 --- /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 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