2 # Copyright (C) 2010-2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 # boards missing since devicetree update
11 include $(TOPDIR
)/rules.mk
12 include $(INCLUDE_DIR
)/image.mk
14 JFFS2_BLOCKSIZE
= 64k
128k
256k
15 NAND_BLOCKSIZE
= 512:16k
17 LOADER_MAKE
:= $(NO_TRACE_MAKE
) -C lzma-loader KDIR
=$(KDIR
)
19 define Image
/BuildLoader
/Template
20 -rm -rf
$(KDIR
)/lzma-loader
21 $(LOADER_MAKE
) LOADER
=loader
$(2)-$(1).bin\
22 LZMA_TEXT_START
=0x80a00000 \
24 LOADER_DATA
="$(KDIR)/vmlinux$(2)-$(1).lzma" BOARD
="$(1)" \
30 $(STAGING_DIR_HOST
)/bin
/lzma e
$(1) $(2)
33 define PatchKernelLzma
34 cp
$(KDIR
)/vmlinux
$(2) $(KDIR
)/vmlinux
$(2)-$(1)
35 $(LINUX_DIR
)/scripts
/dtc
/dtc
-O dtb
-o
$(KDIR
)/$(1).dtb ..
/dts
/$(1).dts
36 $(STAGING_DIR_HOST
)/bin
/patch-dtb
$(KDIR
)/vmlinux
$(2)-$(1) $(KDIR
)/$(1).dtb
37 $(call CompressLzma
,$(KDIR
)/vmlinux
$(2)-$(1),$(KDIR
)/vmlinux
$(2)-$(1).lzma
)
41 mkbrncmdline
-i
$(KDIR
)/vmlinux-
$(4) -o
$(KDIR
)/vmlinux-
$(4)-brn BRN-BOOT
$(6)
42 $(call CompressLzma
,$(KDIR
)/vmlinux-
$(4)-brn
,$(KDIR
)/vmlinux-
$(4)-brn.lzma
)
43 mkbrnimg
-s
$(1) -m
$(2) -o
$(3) $(KDIR
)/vmlinux-
$(4)-brn.lzma
$(KDIR
)/root.
$(5)
47 mkimage
-A mips
-O linux
-T kernel
-a
0x80002000 -C lzma \
48 -e
0x80002000 -n
'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
49 -d
$(KDIR
)/vmlinux
$(2)-$(1).lzma
$(KDIR
)/uImage-
$(1)$(2)
52 define TPLinkImageLzma
53 mktplinkfw2
-c
-B
$(2) -s \
54 -k
$(KDIR
)/vmlinux
$(3)-$(1).lzma
-o
$(KDIR
)/uImage-
$(1)$(3)
58 lzma2eva
0x80002000 0x80002000 $(KDIR
)/vmlinux
$(2)-$(1).lzma
$(KDIR
)/$(1)$(2).eva.prealign
59 dd if
=$(KDIR
)/$(1)$(2).eva.prealign of
=$(KDIR
)/$(1)$(2).eva.align
.64k bs
=64k conv
=sync
60 dd if
=$(KDIR
)/$(1)$(2).eva.prealign of
=$(KDIR
)/$(1)$(2).eva.align
.128k bs
=128k conv
=sync
61 cat .
/eva.dummy.squashfs
>> $(KDIR
)/$(1)$(2).eva.align
.64k
68 define PatchKernelGzip
69 cp
$(KDIR
)/vmlinux
$(3) $(KDIR
)/vmlinux
$(3)-$(1)
70 $(STAGING_DIR_HOST
)/bin
/patch-cmdline
$(KDIR
)/vmlinux
$(3)-$(1) '$(strip $(2))'
71 $(call CompressGzip
,$(KDIR
)/vmlinux
$(3)-$(1),$(KDIR
)/vmlinux
$(3)-$(1).gzip
)
75 mkimage
-A mips
-O linux
-T kernel
-a
0x80002000 -C gzip \
76 -e
0x80002000 -n
'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
77 -d
$(KDIR
)/vmlinux
$(2)-$(1).gzip
$(KDIR
)/uImage-
$(1)$(2)
80 define Image
/Build
/squashfs
81 cat
$(KDIR
)/uImage-
$(2) $(KDIR
)/root.
$(1) > $(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1).image
82 $(call prepare_generic_squashfs
,$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1).image
)
83 $(if
$(3),$(call MkBrnImage
,$(3),$(4),$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(3)-brnImage
,$(2),$(1),$(5)))
86 DGN3500_SKERNEL
=0x50000
87 DGN3500_SKERNEL_DECIMAL
=327680
88 define Image
/BuildDGN3500
/squashfs
89 dd if
=/dev
/zero of
=$(BIN_DIR
)/$(IMG_PREFIX
)-pad bs
=$(DGN3500_SKERNEL_DECIMAL
) count
=1
90 cat
$(BIN_DIR
)/$(IMG_PREFIX
)-pad
$(KDIR
)/uImage-
$(2) $(KDIR
)/root.
$(1) > $(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepad.img
91 rm -r
$(BIN_DIR
)/$(IMG_PREFIX
)-pad
92 dd if
=/dev
/zero ibs
=16M count
=1 | tr
"\000" "\377" > $(BIN_DIR
)/$(IMG_PREFIX
)-pwf
93 cp
$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepad.img
$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepadNA.img
94 dgn3500sum
$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepadNA.img
$(DGN3500_SKERNEL
) NA
95 $(call prepare_generic_squashfs
,$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepadNA.img
)
96 cp
$(BIN_DIR
)/$(IMG_PREFIX
)-pwf
$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-NA.img
97 dd if
=$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepadNA.img of
=$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-NA.img conv
=notrunc
98 dd if
=$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepadNA.img of
=$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-sysupgrade-NA.image bs
=$(DGN3500_SKERNEL_DECIMAL
) skip
=1
99 rm -r
$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepadNA.img
100 mv
$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepad.img
$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepadWW.img
101 dgn3500sum
$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepadWW.img
$(DGN3500_SKERNEL
) WW
102 $(call prepare_generic_squashfs
,$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepadWW.img
)
103 mv
$(BIN_DIR
)/$(IMG_PREFIX
)-pwf
$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-WW.img
104 dd if
=$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepadWW.img of
=$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-WW.img conv
=notrunc
105 dd if
=$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepadWW.img of
=$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-sysupgrade-WW.image bs
=$(DGN3500_SKERNEL_DECIMAL
) skip
=1
106 rm -r
$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepadWW.img
109 define Image
/BuildDGN3500B
/squashfs
110 dd if
=/dev
/zero of
=$(BIN_DIR
)/$(IMG_PREFIX
)-pad bs
=327680 count
=1
111 cat
$(BIN_DIR
)/$(IMG_PREFIX
)-pad
$(KDIR
)/uImage-
$(2) $(KDIR
)/root.
$(1) > $(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepad.img
112 rm -r
$(BIN_DIR
)/$(IMG_PREFIX
)-pad
113 dd if
=/dev
/zero ibs
=16M count
=1 | tr
"\000" "\377" > $(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory.img
114 dgn3500sum
$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepad.img
$(DGN3500_SKERNEL
) DE
115 $(call prepare_generic_squashfs
,$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepad.img
)
116 dd if
=$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepad.img of
=$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory.img conv
=notrunc
117 dd if
=$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepad.img of
=$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-sysupgrade.image bs
=$(DGN3500_SKERNEL_DECIMAL
) skip
=1
118 rm -r
$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-factory-prepad.img
119 dgn3500sum
$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1)-sysupgrade.image
$(DGN3500_SKERNEL
) DE
123 define Image
/BuildTPLink
/squashfs
124 mktplinkfw2
-B
$(3) -s
-a
0x4 -j \
125 -k
$(KDIR
)/vmlinux-
$(2).lzma
-r
$(KDIR
)/root.
$(1) \
126 -o
$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-sysupgrade.image
129 define Image
/BuildEVA
/squashfs
130 cat
$(KDIR
)/$(2).eva.align
.64k
$(KDIR
)/root.
$(1) > $(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1).image.eva
131 $(call prepare_generic_squashfs
,$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1).image.eva
)
134 define Image
/BuildEVA
/ubifs
136 ifneq ($($(PROFILE
)_UBIFS_OPTS
),)
137 $(CP
) $(KDIR
)/root.ubifs
$(BIN_DIR
)/$(IMG_PREFIX
)-$(PROFILE
)-rootfs.ubifs
141 define Image
/BuildEVA
/ubi
143 ifneq ($($(PROFILE
)_UBI_OPTS
),)
144 $(CP
) $(KDIR
)/root.ubi
$(BIN_DIR
)/$(IMG_PREFIX
)-$(PROFILE
)-rootfs.ubi
145 $(CP
) $(KDIR
)/root-overlay.ubi
$(BIN_DIR
)/$(IMG_PREFIX
)-$(PROFILE
)-rootfs-overlay.ubi
149 define Image
/BuildLoader
/squashfs
150 dd if
=$(KDIR
)/loader-
$(2).bin of
=$(KDIR
)/loader-
$(2).bin.padded bs
=1536k conv
=sync
151 cat
$(KDIR
)/loader-
$(2).bin.padded
$(KDIR
)/root.
$(1) > $(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1).image
152 $(call prepare_generic_squashfs
,$(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1).image
)
155 define Image
/BuildEVA
/jffs2-128k
156 cat
$(KDIR
)/$(2).eva.align
.128k
$(KDIR
)/root.
$(1) > $(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1).image.eva
159 define Image
/Build
/jffs2-64k
160 dd if
=$(KDIR
)/uImage-
$(2) of
=$(KDIR
)/uImage-
$(2)-$(1) bs
=64k conv
=sync
161 cat
$(KDIR
)/uImage-
$(2)-$(1) $(KDIR
)/root.
$(1) > $(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1).image
164 define Image
/Build
/jffs2-128k
165 dd if
=$(KDIR
)/uImage-
$(2) of
=$(KDIR
)/uImage-
$(2)-$(1) bs
=128k conv
=sync
166 cat
$(KDIR
)/uImage-
$(2)-$(1) $(KDIR
)/root.
$(1) > $(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1).image
169 define Image
/Build
/jffs2-256k
170 dd if
=$(KDIR
)/uImage-
$(2) of
=$(KDIR
)/uImage-
$(2)-$(1) bs
=256k conv
=sync
171 cat
$(KDIR
)/uImage-
$(2)-$(1) $(KDIR
)/root.
$(1) > $(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1).image
174 define Image
/Build
/jffs2-nand-512-16k
175 dd if
=$(KDIR
)/uImage-
$(2) of
=$(KDIR
)/uImage-
$(2)-$(1) bs
=16k conv
=sync
176 $(CP
) $(KDIR
)/uImage-
$(2)-$(1) $(BIN_DIR
)/uImage-
$(2)-$(1)
177 $(CP
) $(KDIR
)/root.
$(1) $(BIN_DIR
)/root-
$(2)-$(1)
178 cat
$(KDIR
)/uImage-
$(2)-$(1) $(KDIR
)/root.
$(1) > $(BIN_DIR
)/$(IMG_PREFIX
)-$(2)-$(1).image
181 define Image
/Build
/ubifs
183 ifneq ($($(PROFILE
)_UBIFS_OPTS
),)
184 $(CP
) $(KDIR
)/root.ubifs
$(BIN_DIR
)/$(IMG_PREFIX
)-$(PROFILE
)-rootfs.ubifs
188 define Image
/Build
/ubi
190 ifneq ($($(PROFILE
)_UBI_OPTS
),)
191 $(CP
) $(KDIR
)/root.ubi
$(BIN_DIR
)/$(IMG_PREFIX
)-$(PROFILE
)-rootfs.ubi
195 define Image
/InstallKernel
/Template
197 ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_KERNEL
),)
198 $(INSTALL_DIR
) $(TARGET_DIR
)/boot
200 ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_UIMAGE
),)
201 $(CP
) $(BIN_DIR
)/$(IMG_PREFIX
)-$(1)-uImage
$(TARGET_DIR
)/boot
/
202 ln
-sf
$(IMG_PREFIX
)-$(1)-uImage
$(TARGET_DIR
)/boot
/uImage
205 ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_ZIMAGE
),)
206 $(CP
) $(BIN_DIR
)/$(IMG_PREFIX
)-$(1)-zImage
$(TARGET_DIR
)/boot
/
207 ln
-sf
$(IMG_PREFIX
)-$(1)-zImage
$(TARGET_DIR
)/boot
/zImage
211 ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_DTB
),)
212 $(INSTALL_DIR
) $(TARGET_DIR
)/boot
215 $(CP
) $(KDIR
)/$(1).dtb
$(TARGET_DIR
)/boot
/
220 define Image
/BuildKernel
/Template
221 $(call PatchKernelLzma
,$(1))
222 $(call MkImageLzma
,$(1))
223 $(CP
) $(KDIR
)/uImage-
$(1) $(BIN_DIR
)/$(IMG_PREFIX
)-$(1)-uImage
224 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS
),)
225 $(call PatchKernelLzma
,$(1),-initramfs
)
226 $(call MkImageLzma
,$(1),-initramfs
)
227 $(CP
) $(KDIR
)/uImage-
$(1)-initramfs
$(BIN_DIR
)/$(IMG_PREFIX
)-$(1)-uImage-initramfs
231 define Image
/BuildKernelLoader
/Template
232 $(call PatchKernelLzma
,$(1))
233 $(call Image
/BuildLoader
/Template
,$(1))
234 $(CP
) $(KDIR
)/loader-
$(1).bin
$(BIN_DIR
)/$(IMG_PREFIX
)-$(1)-vmlinux-loader
235 $(CP
) $(KDIR
)/vmlinux-
$(1) $(BIN_DIR
)/$(IMG_PREFIX
)-$(1)-vmlinux
236 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS
),)
237 $(call PatchKernelLzma
,$(1),-initramfs
)
238 $(call Image
/BuildLoader
/Template
,$(1),-initramfs
)
239 $(CP
) $(KDIR
)/loader-initramfs-
$(1).bin
$(BIN_DIR
)/$(IMG_PREFIX
)-$(1)-vmlinux-initramfs-loader
240 $(CP
) $(KDIR
)/vmlinux-initramfs-
$(1) $(BIN_DIR
)/$(IMG_PREFIX
)-$(1)-vmlinux-initramfs
244 define Image
/BuildKernelTPLink
/Template
245 $(call PatchKernelLzma
,$(1))
246 $(call TPLinkImageLzma
,$(1),$(2))
247 $(CP
) $(KDIR
)/uImage-
$(1) $(BIN_DIR
)/$(IMG_PREFIX
)-$(1)-uImage
248 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS
),)
249 $(call PatchKernelLzma
,$(1),-initramfs
)
250 $(call TPLinkImageLzma
,$(1),$(2),-initramfs
)
251 $(CP
) $(KDIR
)/uImage-
$(1)-initramfs
$(BIN_DIR
)/$(IMG_PREFIX
)-$(1)-uImage-initramfs
255 define Image
/BuildKernelEVA
/Template
256 $(call PatchKernelLzma
,$(1))
257 $(call MkImageEVA
,$(1))
258 $(CP
) $(KDIR
)/$(1).eva.align
.64k
$(BIN_DIR
)/$(IMG_PREFIX
)-$(1).eva.align
.64k
259 $(CP
) $(KDIR
)/$(1).eva.align
.128k
$(BIN_DIR
)/$(IMG_PREFIX
)-$(1).eva.align
.128k
260 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS
),)
261 $(call PatchKernelLzma
,$(1),-initramfs
)
262 $(call MkImageEVA
,$(1),-initramfs
)
263 $(CP
) $(KDIR
)/$(1)-initramfs.eva.align
.64k
$(BIN_DIR
)/$(IMG_PREFIX
)-$(1)-initramfs.eva.align
.64k
264 $(CP
) $(KDIR
)/$(1)-initramfs.eva.align
.128k
$(BIN_DIR
)/$(IMG_PREFIX
)-$(1)-initramfs.eva.align
.128k
268 define Image
/BuildKernelGzip
/Template
269 $(call PatchKernelGzip
,$(1),$(if
$(2),$(2) machtype
=$(1),))
270 $(call MkImageGzip
,$(1))
271 $(CP
) $(KDIR
)/uImage-
$(1) $(BIN_DIR
)/$(IMG_PREFIX
)-$(1)-uImage
272 ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS
),)
273 $(call PatchKernelGzip
,$(1),$(if
$(2),$(2) machtype
=$(1),),-initramfs
)
274 $(call MkImageGzip
,$(1),-initramfs
)
275 $(CP
) $(KDIR
)/uImage-
$(1)-initramfs
$(BIN_DIR
)/$(IMG_PREFIX
)-$(1)-uImage-initramfs
280 ifeq ($(CONFIG_TARGET_lantiq_falcon
),y
)
282 Image
/BuildKernel
/Profile
/EASY98000NOR
=$(call Image
/BuildKernel
/Template
,EASY98000NOR
)
283 Image
/Build
/Profile
/EASY98000NOR
=$(call Image
/Build
/$(1),$(1),EASY98000NOR
)
285 Image
/BuildKernel
/Profile
/EASY98000SFLASH
=$(call Image
/BuildKernel
/Template
,EASY98000SFLASH
)
286 Image
/Build
/Profile
/EASY98000SFLASH
=$(call Image
/Build
/$(1),$(1),EASY98000SFLASH
)
291 ifeq ($(CONFIG_TARGET_lantiq_ase
),y
)
293 Image
/BuildKernel
/Profile
/DGN1000B
=$(call Image
/BuildKernel
/Template
,DGN1000B
)
294 Image
/Build
/Profile
/DGN1000B
=$(call Image
/Build
/$(1),$(1),DGN1000B
)
299 ifeq ($(CONFIG_TARGET_lantiq_xway
),y
)
302 Image
/BuildKernel
/Profile
/BTHOMEHUBV2B
=$(call Image
/BuildKernel
/Template
,BTHOMEHUBV2B
)
303 Image
/Build
/Profile
/BTHOMEHUBV2B
=$(call Image
/Build
/$(1),$(1),BTHOMEHUBV2B
)
305 Image
/BuildKernel
/Profile
/EASY50712
=$(call Image
/BuildKernel
/Template
,EASY50712
)
306 Image
/Build
/Profile
/EASY50712
=$(call Image
/Build
/$(1),$(1),EASY50712
)
308 Image
/BuildKernel
/Profile
/ACMP252
=$(call Image
/BuildKernel
/Template
,ACMP252
)
309 Image
/Build
/Profile
/ACMP252
=$(call Image
/Build
/$(1),$(1),ACMP252
)
311 Image
/BuildKernel
/Profile
/ARV4510PW
=$(call Image
/BuildKernel
/Template
,ARV4510PW
)
312 Image
/Build
/Profile
/ARV4510PW
=$(call Image
/Build
/$(1),$(1),ARV4510PW
)
314 Image
/BuildKernel
/Profile
/ARV4525PW
=$(call Image
/BuildKernel
/Template
,ARV4525PW
)
315 Image
/Build
/Profile
/ARV4525PW
=$(call Image
/Build
/$(1),$(1),ARV4525PW
)
317 Image
/BuildKernel
/Profile
/ARV7525PW
=$(call Image
/BuildKernel
/Template
,ARV7525PW
)
318 Image
/Build
/Profile
/ARV7525PW
=$(call Image
/Build
/$(1),$(1),ARV7525PW
)
320 Image
/BuildKernel
/Profile
/ARV4518PWR01
=$(call Image
/BuildKernel
/Template
,ARV4518PWR01
)
321 Image
/Build
/Profile
/ARV4518PWR01
=$(call Image
/Build
/$(1),$(1),ARV4518PWR01
)
323 Image
/BuildKernel
/Profile
/ARV4518PWR01A
=$(call Image
/BuildKernel
/Template
,ARV4518PWR01A
)
324 Image
/Build
/Profile
/ARV4518PWR01A
=$(call Image
/Build
/$(1),$(1),ARV4518PWR01A
)
326 Image
/BuildKernel
/Profile
/ARV4519PW
=$(call Image
/BuildKernel
/Template
,ARV4519PW
)
327 Image
/Build
/Profile
/ARV4519PW
=$(call Image
/Build
/$(1),$(1),ARV4519PW
)
329 Image
/BuildKernel
/Profile
/ARV4520PW
=$(call Image
/BuildKernel
/Template
,ARV4520PW
)
330 Image
/Build
/Profile
/ARV4520PW
=$(call Image
/Build
/$(1),$(1),ARV4520PW
)
332 Image
/BuildKernel
/Profile
/ARV452CQW
=$(call Image
/BuildKernel
/Template
,ARV452CQW
)
333 Image
/Build
/Profile
/ARV452CQW
=$(call Image
/Build
/$(1),$(1),ARV452CQW
)
335 Image
/BuildKernel
/Profile
/ARV7510PW22
=$(call Image
/BuildKernel
/Template
,ARV7510PW22
)
336 Image
/Build
/Profile
/ARV7510PW22
=$(call Image
/Build
/$(1),$(1),ARV7510PW22
)
338 Image
/BuildKernel
/Profile
/ARV7518PW
=$(call Image
/BuildKernel
/Template
,ARV7518PW
)
339 Image
/Build
/Profile
/ARV7518PW
=$(call Image
/Build
/$(1),$(1),ARV7518PW
)
341 Image
/BuildKernel
/Profile
/ARV7519PW
=$(call Image
/BuildKernel
/Template
,ARV7519PW
)
342 Image
/Build
/Profile
/ARV7519PW
=$(call Image
/Build
/$(1),$(1),ARV7519PW
)
344 Image
/BuildKernel
/Profile
/ARV752DPW
=$(call Image
/BuildKernel
/Template
,ARV752DPW
)
345 Image
/Build
/Profile
/ARV752DPW
=$(call Image
/Build
/$(1),$(1),ARV752DPW
)
347 Image
/BuildKernel
/Profile
/ARV752DPW22
=$(call Image
/BuildKernel
/Template
,ARV752DPW22
)
348 Image
/Build
/Profile
/ARV752DPW22
=$(call Image
/Build
/$(1),$(1),ARV752DPW22
)
350 Image
/BuildKernel
/Profile
/GIGASX76X
=$(call Image
/BuildKernel
/Template
,GIGASX76X
)
351 Image
/Build
/Profile
/GIGASX76X
=$(call Image
/Build
/$(1),$(1),GIGASX76X
)
355 Image
/BuildKernel
/Profile
/DGN3500
=$(call Image
/BuildKernel
/Template
,DGN3500
)
356 Image
/Build
/Profile
/DGN3500
=$(call Image
/BuildDGN3500
/$(1),$(1),DGN3500
)
358 Image
/BuildKernel
/Profile
/DGN3500B
=$(call Image
/BuildKernel
/Template
,DGN3500B
)
359 Image
/Build
/Profile
/DGN3500B
=$(call Image
/BuildDGN3500B
/$(1),$(1),DGN3500B
)
361 Image
/BuildKernel
/Profile
/WBMRA
=$(call Image
/BuildKernel
/Template
,WBMR
)
362 Image
/Build
/Profile
/WBMRA
=$(call Image
/Build
/$(1),$(1),WBMR
)
364 Image
/BuildKernel
/Profile
/WBMRB
=$(call Image
/BuildKernel
/Template
,WBMR
)
365 Image
/Build
/Profile
/WBMRB
=$(call Image
/Build
/$(1),$(1),WBMR
)
367 Image
/BuildKernel
/Profile
/FRITZ7320
=$(call Image
/BuildKernelEVA
/Template
,FRITZ7320
)
368 Image
/Build
/Profile
/FRITZ7320
=$(call Image
/BuildEVA
/$(1),$(1),FRITZ7320
)
370 Image
/BuildKernel
/Profile
/GR7000
=$(call Image
/BuildKernel
/Template
,GR7000
)
371 Image
/Build
/Profile
/GR7000
=$(call Image
/Build
/$(1),$(1),GR7000
)
373 Image
/BuildKernel
/Profile
/H201L
=$(call Image
/BuildKernel
/Template
,H201L
)
374 Image
/Build
/Profile
/H201L
=$(call Image
/Build
/$(1),$(1),H201L
)
376 Image
/BuildKernel
/Profile
/P2601HNFX
=$(call Image
/BuildKernel
/Template
,P2601HNFX
)
377 Image
/Build
/Profile
/P2601HNFX
=$(call Image
/Build
/$(1),$(1),P2601HNFX
)
382 ifeq ($(CONFIG_TARGET_lantiq_xrx200
),y
)
385 Image
/BuildKernel
/Profile
/P2812HNUFX
=$(call Image
/BuildKernel
/Template
,P2812HNUFX
)
386 Image
/InstallKernel
/Template
/P2812HNUFX
=$(call Image
/InstallKernel
/Template
,P2812HNUFX
)
387 Image
/Build
/Profile
/P2812HNUFX
=$(call Image
/Build
/$(1),$(1),P2812HNUFX
)
389 Image
/BuildKernel
/Profile
/ARV7519RWV11
=$(call Image
/BuildKernel
/Template
,ARV7519RWV11
,$(1))
390 Image
/Build
/Profile
/ARV7519RWV11
=$(call Image
/Build
/$(1),$(1),ARV7519RWV11
)
392 Image
/BuildKernel
/Profile
/ARV7519RWV12
=$(call Image
/BuildKernel
/Template
,ARV7519RWV12
,$(1))
393 Image
/Build
/Profile
/ARV7519RWV12
=$(call Image
/Build
/$(1),$(1),ARV7519RWV12
)
395 Image
/BuildKernel
/Profile
/EASY80920NAND
=$(call Image
/BuildKernel
/Template
,EASY80920NAND
)
396 Image
/Build
/Profile
/EASY80920NAND
=$(call Image
/Build
/$(1),$(1),EASY80920NAND
)
398 Image
/BuildKernel
/Profile
/EASY80920NOR
=$(call Image
/BuildKernel
/Template
,EASY80920NOR
)
399 Image
/Build
/Profile
/EASY80920NOR
=$(call Image
/Build
/$(1),$(1),EASY80920NOR
)
401 Image
/BuildKernel
/Profile
/FRITZ3370
=$(call Image
/BuildKernelEVA
/Template
,FRITZ3370
)
402 Image
/Build
/Profile
/FRITZ3370
=$(call Image
/BuildEVA
/$(1),$(1),FRITZ3370
)
404 Image
/BuildKernel
/Profile
/VG3503J
=$(call Image
/BuildKernelLoader
/Template
,VG3503J
)
405 Image
/Build
/Profile
/VG3503J
=$(call Image
/BuildLoader
/$(1),$(1),VG3503J
)
407 Image
/BuildKernel
/Profile
/VG3503J_V2
=$(call Image
/BuildKernelLoader
/Template
,VG3503J_V2
)
408 Image
/Build
/Profile
/VG3503J_V2
=$(call Image
/BuildLoader
/$(1),$(1),VG3503J_V2
)
410 Image
/BuildKernel
/Profile
/TDW8970
=$(call Image
/BuildKernelTPLink
/Template
,TDW8970
,TD-W8970v1
,$(1))
411 Image
/Build
/Profile
/TDW8970
=$(call Image
/BuildTPLink
/$(1),$(1),TDW8970
,TD-W8970v1
)
413 Image
/BuildKernel
/Profile
/VGV7519NOR
=$(call Image
/BuildKernel
/Template
,VGV7519NOR
,$(1))
414 Image
/Build
/Profile
/VGV7519NOR
=$(call Image
/Build
/$(1),$(1),VGV7519NOR
)
416 Image
/BuildKernel
/Profile
/VGV7519BRN
=$(call Image
/BuildKernel
/Template
,VGV7519BRN
,$(1))
417 Image
/Build
/Profile
/VGV7519BRN
=$(call Image
/Build
/$(1),$(1),VGV7519BRN
,5D00008000
,0x12345678,$(1))
422 ifeq ($(CONFIG_TARGET_lantiq_svip_be
),y
)
424 Image
/BuildKernel
/Profile
/EASY33016
=$(call Image
/BuildKernelGzip
/Template
,EASY33016
)
425 Image
/Build
/Profile
/EASY33016
=$(call Image
/Build
/$(1),$(1),EASY33016
)
430 define Image
/BuildKernel
431 $(call Image
/BuildKernel
/Profile
/$(PROFILE
))
434 define Image
/InstallKernel
435 $(call Image
/InstallKernel
/Template
/$(PROFILE
))
439 $(call Image
/Build
/Profile
/$(PROFILE
),$(1))
442 $(eval
$(call BuildImage
))