X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/de6db64de99da7ccf53b4c4f5f6f48f616babaf4..1a418e58fd7d30ac0a6f384a56fa6e82d9bd670c:/target/linux/ramips/image/Makefile diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index dbb152562..9bac08b3d 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -200,20 +200,8 @@ define Image/Build/Template/NW718 $(call BuildFirmware/NW718,$(1),$(2),board=$(3),mtdlayout_nw718,851968,2949120) endef -console_WR6202=ttyS1,115200 -mtdlayout_WR6202=mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,1024k(kernel),6848k(rootfs),7872k@0x50000(firmware) -define Image/Build/Template/WR6202 - $(call BuildFirmware/Generic,$(1),$(2),board=$(3) console=$(console_WR6202),mtdlayout_WR6202,1048576,7012352) -endef - define Image/Build/Profile/WR6202 - $(call Image/Build/Template/$(fs_squash)/$(1),WR6202,wr6202,WR6202) -endef - -console_OMNIEMB=ttyS1,57600 -mtdlayout_ONMIEMB=mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,1024k(kernel),6848k(rootfs),7872k@0x50000(firmware) -define Image/Build/Template/OMNIEMB - $(call BuildFirmware/Generic,$(1),$(2),board=$(3) console=$(console_OMNIEMB),mtdlayout_OMNIEMB,1048576,7012352) + $(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_8M,wr6202,WR6202,ttyS1,115200) endef mtdlayout_sercomm_4M=mtdparts=physmap-flash.0:128k(u-boot)ro,64k(board-nvram)ro,64k(u-boot-env)ro,832k(kernel),2944k(rootfs),64k(signature-eRcOmM),3776k@0x40000(firmware),4096k@0x0(fullflash) @@ -282,7 +270,7 @@ define Image/Build/Profile/NW718 endef define Image/Build/Profile/OMNIEMB - $(call Image/Build/Template/$(fs_squash)/$(1),OMNIEMB,omni-emb,OMNI-EMB) + $(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_8M,omni-emb,OMNI-EMB,ttyS1,57600) endef define Image/Build/Profile/PWH2004 @@ -322,13 +310,8 @@ define Image/Build/Profile/WCR150GN $(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_4M,wcr150gn,WCR150GN,ttyS1,57600) endef -w502u_cmdline=board=W502U console=ttyS1,115200 -define Image/Build/Template/W502U - $(call BuildFirmware/Generic,$(1),w502u,$(w502u_cmdline),mtdlayout_8M,$(kernel_size_8M),$(rootfs_size_8M)) -endef - define Image/Build/Profile/W502U - $(call Image/Build/Template/$(fs_squash)/$(1),W502U) + $(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_8M,w502u,W502U,ttyS1,115200) endef mtdlayout_argus_atp52b=mtdparts=physmap-flash.0:192k(bootloader)ro,64k(config),64k(factory),1152k(kernel),6656k(rootfs),7808k@0x50000(firmware) @@ -345,16 +328,12 @@ endef mtdlayout_f5d8235=mtdparts=physmap-flash.0:320k(u-boot)ro,1536k(kernel),6208k(rootfs),64k(nvram),64k(factory),7744k@0x50000(firmware) mtd_f5d8235_kernel_part_size=1572864 mtd_f5d8235_rootfs_part_size=6356992 -define Image/Build/Template/F5D8235V2 +define Image/Build/Template/F5D8235 $(call BuildFirmware/Generic,$(1),$(2),board=$(3),mtdlayout_f5d8235,$(mtd_f5d8235_kernel_part_size),$(mtd_f5d8235_rootfs_part_size)) endef define Image/Build/Profile/F5D8235V2 - $(call Image/Build/Template/$(fs_squash)/$(1),F5D8235V2,f5d8235v2,F5D8235_V2) -endef - -define Image/Build/Template/F5D8235V1 - $(call BuildFirmware/Generic,$(1),$(2),board=$(3),mtdlayout_f5d8235,$(mtd_f5d8235_kernel_part_size),$(mtd_f5d8235_rootfs_part_size)) + $(call Image/Build/Template/$(fs_squash)/$(1),F5D8235,f5d8235v2,F5D8235_V2) endef define Image/Build/Profile/WR5123GN @@ -395,7 +374,7 @@ endef endif define Image/Build/Profile/F5D8235V1 - $(call Image/Build/Template/$(fs_squash)/$(1),F5D8235V1,f5d8235v1,F5D8235_V1) + $(call Image/Build/Template/$(fs_squash)/$(1),F5D8235,f5d8235v1,F5D8235_V1) endef define Image/Build/Profile/RTN15