[adm5120] image generation cleanups
[openwrt.git] / target / linux / adm5120 / image / router_be.mk
1 #
2 # Copyright (C) 2007,2008 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 define Image/Build/Template/ZyXEL/Initramfs
13         $(call Image/Build/LZMAKernel/Admboot,$(1),gz)
14 endef
15
16 #
17 # Profiles
18 #
19 define Image/Build/Profile/P334WT
20         $(call Image/Build/Template/ZyXEL/$(1),p-334wt)
21 endef
22
23 define Image/Build/Profile/P335WT
24         $(call Image/Build/Template/ZyXEL/$(1),p-335wt)
25 endef
26
27 define Image/Build/Profile/Generic
28         $(call Image/Build/Profile/P334WT,$(1))
29         $(call Image/Build/Profile/P335WT,$(1))
30 endef
31