Makefile (59210499a02a58e5b2c6da763d08adecb760d74b) Makefile (7b7cec477fc3cd42ce565dfc3e53f144504fc95c)
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# Copyright (C) 2001 - 2005 Tensilica Inc.
7# Copyright (C) 2014 Cadence Design Systems Inc.
8#

--- 44 unchanged lines hidden (view full) ---

53
54KBUILD_DEFCONFIG := iss_defconfig
55
56# Find libgcc.a
57
58LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
59
60head-y := arch/xtensa/kernel/head.o
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# Copyright (C) 2001 - 2005 Tensilica Inc.
7# Copyright (C) 2014 Cadence Design Systems Inc.
8#

--- 44 unchanged lines hidden (view full) ---

53
54KBUILD_DEFCONFIG := iss_defconfig
55
56# Find libgcc.a
57
58LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
59
60head-y := arch/xtensa/kernel/head.o
61core-y += arch/xtensa/kernel/ arch/xtensa/mm/
62core-y += arch/xtensa/platforms/$(platform-y)/
63core-y += arch/xtensa/boot/dts/
64
65libs-y += arch/xtensa/lib/ $(LIBGCC)
66
67boot := arch/xtensa/boot
68
69all Image zImage uImage xipImage: vmlinux
70 $(Q)$(MAKE) $(build)=$(boot) $@
71
72archheaders:
73 $(Q)$(MAKE) $(build)=arch/xtensa/kernel/syscalls all
74
75define archhelp
76 @echo '* Image - Kernel ELF image with reset vector'
77 @echo '* zImage - Compressed kernel image (arch/xtensa/boot/images/zImage.*)'
78 @echo '* uImage - U-Boot wrapped image'
79 @echo ' xipImage - XIP image'
80endef
61
62libs-y += arch/xtensa/lib/ $(LIBGCC)
63
64boot := arch/xtensa/boot
65
66all Image zImage uImage xipImage: vmlinux
67 $(Q)$(MAKE) $(build)=$(boot) $@
68
69archheaders:
70 $(Q)$(MAKE) $(build)=arch/xtensa/kernel/syscalls all
71
72define archhelp
73 @echo '* Image - Kernel ELF image with reset vector'
74 @echo '* zImage - Compressed kernel image (arch/xtensa/boot/images/zImage.*)'
75 @echo '* uImage - U-Boot wrapped image'
76 @echo ' xipImage - XIP image'
77endef