Root/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
8define Image/Build/ZyXEL
9    $(call Image/Build/Loader,$(2),bin,0x80500000,0,y,$(2))
10    $(call Image/Build/TRXNoloader,$(call imgname,$(1),$(2)).trx,$(1))
11    $(STAGING_DIR_HOST)/bin/mkzynfw -B $(2) \
12        -b $(KDIR)/loader-$(2).bin \
13        -r $(call imgname,$(1),$(2)).trx:0x10000 \
14        -o $(call imgname,$(1),$(2))-webui.bin
15endef
16
17define Image/Build/Template/ZyXEL
18    $(call Image/Build/ZyXEL,$(1),$(2))
19endef
20
21define Image/Build/Template/ZyXEL/squashfs
22    $(call Image/Build/Template/ZyXEL,squashfs,$(1))
23endef
24
25define Image/Build/Template/ZyXEL/jffs2
26    $(call Image/Build/Template/ZyXEL,jffs2,$(1))
27endef
28
29define Image/Build/Template/ZyXEL/Initramfs
30    $(call Image/Build/LZMAKernel/KArgs,$(1),bin)
31endef
32
33#
34# Profiles
35#
36define Image/Build/Profile/P334WT
37    $(call Image/Build/Template/ZyXEL/$(1),p-334wt)
38endef
39
40define Image/Build/Profile/P335WT
41    $(call Image/Build/Template/ZyXEL/$(1),p-335wt)
42endef
43
44define Image/Build/Profile/Generic
45    $(call Image/Build/Profile/P334WT,$(1))
46    $(call Image/Build/Profile/P335WT,$(1))
47endef
48
49

Archive Download this file



interactive