aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-01-02 16:30:49 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-01-02 16:30:49 +0000
commitacf09aa0a8a21e718dae2da2a2429309e8d0ed4d (patch)
tree246ed2995a1c1110b2a7aa3e77ca79e11e28e1b7 /target/linux/ar71xx
parent61a1c4d06be8436a4fc113afc2127c3913e976e1 (diff)
downloadupstream-acf09aa0a8a21e718dae2da2a2429309e8d0ed4d.tar.gz
upstream-acf09aa0a8a21e718dae2da2a2429309e8d0ed4d.tar.bz2
upstream-acf09aa0a8a21e718dae2da2a2429309e8d0ed4d.zip
ar71xx: simplify image generation a bit
SVN-Revision: 19010
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/image/Makefile88
1 files changed, 20 insertions, 68 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 4788f70f38..af0116c498 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -264,132 +264,84 @@ define Image/Build/WNDR3700
-o $(call imgname,$(1),$(2))-factory.img
endef
-define Image/Build/Template/Compex
- $(call Image/Build/MyLoader,$(1),$(2))
-endef
-
define Image/Build/Template/Compex/squashfs
- $(call Image/Build/Template/Compex,squashfs,$(1))
-endef
-
-define Image/Build/Template/WRT400N
- $(call Image/Build/WRT400N,$(1),$(2),$(3),$(4))
+ $(call Image/Build/MyLoader,squashfs,$(1))
endef
define Image/Build/Template/WRT400N/squashfs
- $(call Image/Build/Template/WRT400N,squashfs,$(1),$(2),$(3))
+ $(call Image/Build/WRT400N,squashfs,$(1),$(2),$(3))
endef
define Image/Build/Template/WRT400N/jffs2-64k
- $(call Image/Build/Template/WRT400N,jffs2-64k,$(1),$(2),$(3))
-endef
-
-define Image/Build/Template/DIR825B1
- $(call Image/Build/DIR825B1,$(1),$(2),$(3),$(4))
+ $(call Image/Build/WRT400N,jffs2-64k,$(1),$(2),$(3))
endef
define Image/Build/Template/DIR825B1/squashfs
- $(call Image/Build/Template/DIR825B1,squashfs,$(1),$(2),$(3))
+ $(call Image/Build/DIR825B1,squashfs,$(1),$(2),$(3))
endef
define Image/Build/Template/DIR825B1/jffs2-64k
- $(call Image/Build/Template/DIR825B1,jffs2-64k,$(1),$(2),$(3))
-endef
-
-define Image/Build/Template/CyberTAN
- $(call Image/Build/CyberTAN,$(1),$(2),$(3),$(4))
+ $(call Image/Build/DIR825B1,jffs2-64k,$(1),$(2),$(3))
endef
define Image/Build/Template/CyberTAN/squashfs
- $(call Image/Build/Template/CyberTAN,squashfs,$(1),$(2),$(3))
+ $(call Image/Build/CyberTAN,squashfs,$(1),$(2),$(3))
endef
define Image/Build/Template/CyberTAN/jffs2-64k
- $(call Image/Build/Template/CyberTAN,jffs2-64k,$(1),$(2),$(3))
-endef
-
-define Image/Build/Template/Cameo
- $(call Image/Build/Cameo,$(1),$(2),$(3),$(4))
+ $(call Image/Build/CyberTAN,jffs2-64k,$(1),$(2),$(3))
endef
define Image/Build/Template/Cameo/squashfs
- $(call Image/Build/Template/Cameo,squashfs,$(1),$(2),$(3))
-endef
-
-define Image/Build/Template/AP83
- $(call Image/Build/AP83,$(1),$(2),$(3))
+ $(call Image/Build/Cameo,squashfs,$(1),$(2),$(3))
endef
define Image/Build/Template/AP83/squashfs
- $(call Image/Build/Template/AP83,squashfs,$(1),$(2))
+ $(call Image/Build/AP83,squashfs,$(1),$(2))
endef
define Image/Build/Template/AP83/jffs2-64k
- $(call Image/Build/Template/AP83,jffs2-64k,$(1),$(2))
-endef
-
-define Image/Build/Template/TPLINK
- $(call Image/Build/TPLINK,$(1),$(2),$(3),$(4))
+ $(call Image/Build/AP83,jffs2-64k,$(1),$(2))
endef
define Image/Build/Template/TPLINK/squashfs
- $(call Image/Build/Template/TPLINK,squashfs,$(1),$(2),$(3))
-endef
-
-define Image/Build/Template/TPLINK4K
- $(call Image/Build/TPLINK,$(1),$(2),$(3),$(4))
+ $(call Image/Build/TPLINK,squashfs,$(1),$(2),$(3))
endef
define Image/Build/Template/TPLINK4K/squashfs
- $(call Image/Build/Template/TPLINK,squashfs,$(1),$(2),$(3))
-endef
-
-define Image/Build/Template/UBNT
- $(call Image/Build/UBNT,$(1),$(2),$(3),$(4),$(5),$(6))
+ $(call Image/Build/TPLINK,squashfs,$(1),$(2),$(3))
endef
define Image/Build/Template/UBNT/squashfs
- $(call Image/Build/Template/UBNT,squashfs,$(1),$(2),$(3),$(4),$(5))
+ $(call Image/Build/UBNT,squashfs,$(1),$(2),$(3),$(4),$(5))
endef
define Image/Build/Template/UBNT/jffs2-64k
- $(call Image/Build/Template/UBNT,jffs2-64k,$(1),$(2),$(3),$(4),$(5))
-endef
-
-define Image/Build/Template/UBNTXM
- $(call Image/Build/UBNTXM,$(1),$(2),$(3),$(4),$(5),$(6))
+ $(call Image/Build/UBNT,jffs2-64k,$(1),$(2),$(3),$(4),$(5))
endef
define Image/Build/Template/UBNTXM/squashfs
- $(call Image/Build/Template/UBNTXM,squashfs,$(1),$(2),$(3),$(4),$(5))
+ $(call Image/Build/UBNTXM,squashfs,$(1),$(2),$(3),$(4),$(5))
endef
define Image/Build/Template/UBNTXM/jffs2-64k
- $(call Image/Build/Template/UBNTXM,jffs2-64k,$(1),$(2),$(3),$(4),$(5))
-endef
-
-define Image/Build/Template/Planex
- $(call Image/Build/Planex,$(1),$(2),$(3))
+ $(call Image/Build/UBNTXM,jffs2-64k,$(1),$(2),$(3),$(4),$(5))
endef
define Image/Build/Template/Planex/squashfs
- $(call Image/Build/Template/Planex,squashfs,$(1),$(2))
+ $(call Image/Build/Planex,squashfs,$(1),$(2))
endef
define Image/Build/Template/Planex/jffs2-64k
- $(call Image/Build/Template/Planex,jffs2-64k,$(1),$(2))
-endef
-
-define Image/Build/Template/WNDR3700
- $(call Image/Build/WNDR3700,$(1),$(2),$(3))
+ $(call Image/Build/Planex,jffs2-64k,$(1),$(2))
endef
define Image/Build/Template/WNDR3700/squashfs
- $(call Image/Build/Template/WNDR3700,squashfs,$(1),$(2))
+ $(call Image/Build/WNDR3700,squashfs,$(1),$(2))
endef
define Image/Build/Template/WNDR3700/jffs2-64k
- $(call Image/Build/Template/WNDR3700,jffs2-64k,$(1),$(2))
+ $(call Image/Build/WNDR3700,jffs2-64k,$(1),$(2))
endef
define Image/Build/Profile/AP83