lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[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/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
15 endef
16
17 define Image/Build/Template/ZyXEL
18 $(call Image/Build/ZyXEL,$(1),$(2))
19 endef
20
21 define Image/Build/Template/ZyXEL/squashfs
22 $(call Image/Build/Template/ZyXEL,squashfs,$(1))
23 endef
24
25 define Image/Build/Template/ZyXEL/jffs2
26 $(call Image/Build/Template/ZyXEL,jffs2,$(1))
27 endef
28
29 define Image/Build/Template/ZyXEL/Initramfs
30 $(call Image/Build/LZMAKernel/KArgs,$(1),bin)
31 endef
32
33 #
34 # Profiles
35 #
36 define Image/Build/Profile/P334WT
37 $(call Image/Build/Template/ZyXEL/$(1),p-334wt)
38 endef
39
40 define Image/Build/Profile/P335WT
41 $(call Image/Build/Template/ZyXEL/$(1),p-335wt)
42 endef
43
44 define Image/Build/Profile/Generic
45 $(call Image/Build/Profile/P334WT,$(1))
46 $(call Image/Build/Profile/P335WT,$(1))
47 endef
48
This page took 0.041047 seconds and 5 git commands to generate.