1#
2# This file is subject to the terms and conditions of the GNU General Public
3# License.  See the file "COPYING" in the main directory of this archive
4# for more details.
5#
6
7ifdef CONFIG_MMU
8ifdef CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX
9UIMAGE_LOADADDR = 0x00003000
10else
11UIMAGE_LOADADDR = 0xd0003000
12endif
13else
14UIMAGE_LOADADDR = $(shell printf "0x%x" $$(( ${CONFIG_DEFAULT_MEM_START} + 0x3000 )) )
15endif
16UIMAGE_COMPRESSION = gzip
17
18$(obj)/../uImage: vmlinux.bin.gz FORCE
19	$(call if_changed,uimage)
20	$(Q)$(kecho) '  Kernel: $@ is ready'
21
22zImage: $(obj)/../uImage
23