diff options
author | John Crispin <blogic@openwrt.org> | 2016-03-04 08:33:12 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-03-04 08:33:12 +0000 |
commit | f79a7116b0f912233e93031f110624f9345f34d4 (patch) | |
tree | 85b45a8571648fee0fb089cd77ebea7d6190ce45 /target/linux/ramips/image/Makefile | |
parent | 20b4e26c8a45acc69a564fd0e3e8191bec524091 (diff) | |
download | master-187ad058-f79a7116b0f912233e93031f110624f9345f34d4.tar.gz master-187ad058-f79a7116b0f912233e93031f110624f9345f34d4.tar.bz2 master-187ad058-f79a7116b0f912233e93031f110624f9345f34d4.zip |
ramips: Add profiles for JCG routers
This patch adds profiles and support for building factory and
sysupgrade images for JHR-N805R, JHR-N825R and JHR-N926R.
Signed-off-by: Reinhard Max <reinhard@m4x.de>
Reviewed-by: Torsten Duwe <duwe@lst.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48906 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/image/Makefile')
-rw-r--r-- | target/linux/ramips/image/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index 5d90ced2b5..eb50cddeaf 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -519,6 +519,20 @@ Image/Build/Profile/CARAMBOLA=$(call BuildFirmware/Default8M/$(1),$(1),carambola Image/Build/Profile/D105=$(call BuildFirmware/Default4M/$(1),$(1),d105,D105) +define BuildFirmware/JCG/squashfs + $(call BuildFirmware/Default4M/$(1),$(1),$(2),$(3)) + -jcgimage -o $(call imgname,$(1),$(2))-factory.bin \ + -u $(call sysupname,$(1),$(2)) -v $(4) +endef +Image/Build/Profile/JHR-N805R=$(call BuildFirmware/JCG/$(1),$(1),jhr-n805r,JHR-N805R,29.24) +Image/Build/Profile/JHR-N825R=$(call BuildFirmware/JCG/$(1),$(1),jhr-n825r,JHR-N825R,23.24) +Image/Build/Profile/JHR-N926R=$(call BuildFirmware/JCG/$(1),$(1),jhr-n926r,JHR-N926R,25.24) +define Image/Build/Profile/JCG + $(call Image/Build/Profile/JHR-N805R,$(1)) + $(call Image/Build/Profile/JHR-N825R,$(1)) + $(call Image/Build/Profile/JHR-N926R,$(1)) +endef + define BuildFirmware/DIR300B1/squashfs $(call BuildFirmware/Default4M/$(1),$(1),$(2),$(3)) -mkwrgimg -s $(4) -d /dev/mtdblock/2 \ @@ -792,6 +806,9 @@ define Image/Build/Profile/Default $(call Image/Build/Profile/HT-TM02,$(1)) $(call Image/Build/Profile/HW550-3G,$(1)) $(call Image/Build/Profile/IP2202,$(1)) + $(call Image/Build/Profile/JHR-N805R,$(1)) + $(call Image/Build/Profile/JHR-N825R,$(1)) + $(call Image/Build/Profile/JHR-N926R,$(1)) $(call Image/Build/Profile/M2M,$(1)) $(call Image/Build/Profile/M3,$(1)) $(call Image/Build/Profile/M4,$(1)) |