Merge tag 'iwlwifi-next-for-kalle-2014-12-30' of https://git.kernel.org/pub/scm/linux...
[cascardo/linux.git] / arch / xtensa / boot / boot-uboot / Makefile
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
7 ifdef CONFIG_MMU
8 ifdef CONFIG_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX
9 UIMAGE_LOADADDR = 0x00003000
10 else
11 UIMAGE_LOADADDR = 0xd0003000
12 endif
13 else
14 UIMAGE_LOADADDR = $(shell printf "0x%x" $$(( ${CONFIG_DEFAULT_MEM_START} + 0x3000 )) )
15 endif
16 UIMAGE_COMPRESSION = gzip
17
18 $(obj)/../uImage: vmlinux.bin.gz FORCE
19         $(call if_changed,uimage)
20         $(Q)$(kecho) '  Kernel: $@ is ready'
21
22 zImage: $(obj)/../uImage