diff options
author | John Crispin <blogic@openwrt.org> | 2014-04-22 08:08:42 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-04-22 08:08:42 +0000 |
commit | f4e347c4048e2c09ae1ad1b1d19a0c8602c26ed9 (patch) | |
tree | fffeb0e2859691c3fae78f7950a251be1bd508e0 | |
parent | 923e54f73079c0ab600b51f826f3fc4ab4c81915 (diff) | |
download | upstream-f4e347c4048e2c09ae1ad1b1d19a0c8602c26ed9.tar.gz upstream-f4e347c4048e2c09ae1ad1b1d19a0c8602c26ed9.tar.bz2 upstream-f4e347c4048e2c09ae1ad1b1d19a0c8602c26ed9.zip |
ramips: build factory-compatible image for AR725W
Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40552 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/ramips/image/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index bf9ccc198a..26386bf05c 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -257,11 +257,21 @@ define BuildFirmware/PorayDualSize/squashfs endef BuildFirmware/PorayDualSize/initramfs=$(call BuildFirmware/DefaultDualSize/initramfs,$(1),$(2),$(3)) +define BuildFirmware/Gemtek/squashfs + $(call BuildFirmware/Default4M/$(1),$(1),$(2),$(3)) + if [ -e "$(call sysupname,$(1),$(2))" ]; then \ + mkheader_gemtek "$(call sysupname,$(1),$(2))" \ + "$(call imgname,$(1),$(2))-factory.bin" $(2) || \ + rm -f "$(call imgname,$(1),$(2))-factory.bin"; \ + fi +endef +BuildFirmware/Gemtek/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3)) + # # RT288X Profiles # -Image/Build/Profile/AR725W=$(call BuildFirmware/Default4M/$(1),$(1),ar725w,AR725W) +Image/Build/Profile/AR725W=$(call BuildFirmware/Gemtek/$(1),$(1),ar725w,AR725W) # 0x790000 belkin_f5d8235v1_mtd_size=7929856 |