[adm5120] image generation fixes, thanks to <berny156 at gmx.de> (#2379)
[openwrt/svn-archive/archive.git] / target / linux / adm5120 / image / router_be.mk
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 define Image/Build/ZyXEL
9 $(call Image/Build/TRXNoloader,$(call imgname,$(1),$(2)).trx,$(1))
10 endef
11
12 #
13 # ZyXEL Prestige 334WT
14 #
15 define Image/Build/Board/P-334WT
16 $(call Image/Build/ZyXEL,$(1),p-334wt)
17 endef
18
19 define Image/Build/Board/P-334WT/squashfs
20 $(call Image/Build/Board/P-334WT,squashfs)
21 endef
22
23 define Image/Build/Board/P-334WT/jffs2-64k
24 $(call Image/Build/Board/P-334WT,jffs2-64k)
25 endef
26
27 define Image/Build/Board/P-334WT/Initramfs
28 $(call Image/Build/LZMAKernel/KArgs,p-334wt,bin)
29 endef
30
31 #
32 # ZyXEL Prestige 335WT
33 #
34 define Image/Build/Board/P-335WT
35 $(call Image/Build/ZyXEL,$(1),p-335wt)
36 endef
37
38 define Image/Build/Board/P-335WT/squashfs
39 $(call Image/Build/Board/P-335WT,$(1))
40 endef
41
42 define Image/Build/Board/P-335WT/jffs2-64k
43 $(call Image/Build/Board/P-335WT,$(1))
44 endef
45
46 define Image/Build/Board/P-335WT/Initramfs
47 $(call Image/Build/LZMAKernel/KArgs,p-335wt,bin)
48 endef
49
50 #
51 # Groups
52 #
53 define Image/Build/Group/All
54 $(call Image/Build/Board/P-334WT/$(1))
55 $(call Image/Build/Board/P-335WT/$(1))
56 endef
57
58 #
59 # Profiles
60 #
61 define Image/Build/Profile/Generic
62 $(call Image/Build/Group/All,$(1))
63 endef
64
65 define Image/Build/Profile/Atheros
66 $(call Image/Build/Group/All,$(1))
67 endef
68
69 define Image/Build/Profile/Texas
70 $(call Image/Build/Group/All,$(1))
71 endef
72
73 define Image/Build/Profile/P-334WT
74 $(call Image/Build/Board/P-334WT/$(1))
75 endef
76
77 define Image/Build/Profile/P-335WT
78 $(call Image/Build/Board/P-335WT/$(1))
79 endef