diff options
Diffstat (limited to 'openwrt/target/default/openwrt.mk')
-rw-r--r-- | openwrt/target/default/openwrt.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openwrt/target/default/openwrt.mk b/openwrt/target/default/openwrt.mk new file mode 100644 index 000000000..89051cd1b --- /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 |