summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/image/Makefile
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-08-23 11:55:27 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-08-23 11:55:27 +0000
commit31a88650d73d184e6b4323d6fbafbbeb946a0120 (patch)
tree8c6a66030f9159c7cebdf13f43583f7f9a57c8d4 /target/linux/ar71xx/image/Makefile
parent2379e6f2a302e90f21a69bd7a101d467a774d3bb (diff)
downloadmtk-20170518-31a88650d73d184e6b4323d6fbafbbeb946a0120.zip
mtk-20170518-31a88650d73d184e6b4323d6fbafbbeb946a0120.tar.gz
mtk-20170518-31a88650d73d184e6b4323d6fbafbbeb946a0120.tar.bz2
ar71xx: image: use the new helpers for the ALFA images
SVN-Revision: 33238
Diffstat (limited to 'target/linux/ar71xx/image/Makefile')
-rw-r--r--target/linux/ar71xx/image/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 1f00ba0..837a1d9 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -685,10 +685,7 @@ define Image/Build/Template/128k/jffs2-128k
$(call Image/Build/$(1),jffs2-128k,$(2),$(3),$(4),$(5),$(6),$(7),$(8))
endef
-alfa_nx_cmdline=board=ALFA-NX console=ttyS0,115200
-define Image/Build/Profile/ALFANX
- $(call Image/Build/Template/$(fs_64k)/$(1),ALFA,alfa-nx,$(alfa_nx_cmdline),$(alfa_mtdlayout_8M),1638400,6291456,vmlinux.gz.uImage,pb9x-2.6.31-jffs2)
-endef
+$(eval $(call SingleProfile,ALFA,$(fs_64k),ALFANX,alfa-nx,ALFA-NX,ttyS0,115200,$$(alfa_mtdlayout_8M),1638400,6291456,vmlinux.gz.uImage,pb9x-2.6.31-jffs2))
alfa_ap96_cmdline=board=ALFA-AP96 console=ttyS0,115200
alfa_ap96_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,256k(u-boot-env)ro,13312k(rootfs),2048k(kernel),512k(caldata)ro,15360k@0x80000(firmware)
@@ -813,10 +810,7 @@ define Image/Build/Profile/EAP7660D
$(call Image/Build/Template/$(fs_128k)/$(1),PB4X,eap7660d,$(eap7660d_cmdline))
endef
-hornetub_cmdline=board=HORNET-UB console=ttyATH0,115200
-define Image/Build/Profile/HORNETUB
- $(call Image/Build/Template/$(fs_64k)/$(1),ALFA,hornet-ub,$(hornetub_cmdline),$(alfa_mtdlayout_8M),1638400,6291456,kernel_image,rootfs_image)
-endef
+$(eval $(call SingleProfile,ALFA,$(fs_64k),HORNETUB,hornet-ub,HORNET-UB,ttyATH0,115200,$$(alfa_mtdlayout_8M),1638400,6291456,kernel_image,rootfs_image))
ja76pf_cmdline=board=JA76PF console=ttyS0,115200
define Image/Build/Profile/JA76PF