Merge branch 'kvm-updates/2.6.36' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[linux-2.6/next.git] / arch / score / Makefile
blobd77dc639d8e322ec8bfd0263f4849e4581670b9f
2 # arch/score/Makefile
4 # This file is subject to the terms and conditions of the GNU General Public
5 # License. See the file "COPYING" in the main directory of this archive
6 # for more details.
9 KBUILD_DEFCONFIG := spct6600_defconfig
10 CROSS_COMPILE := score-linux-
13 # CPU-dependent compiler/assembler options for optimization.
15 cflags-y += -G0 -pipe -mel -mnhwloop -D__SCOREEL__ \
16 -D__linux__ -ffunction-sections -ffreestanding
19 # Board-dependent options and extra files
21 KBUILD_AFLAGS += $(cflags-y)
22 KBUILD_CFLAGS += $(cflags-y)
23 KBUILD_AFLAGS_MODULE += -mlong-calls
24 KBUILD_CFLAGS_MODULE += -mlong-calls
25 LDFLAGS += --oformat elf32-littlescore
26 LDFLAGS_vmlinux += -G0 -static -nostdlib
28 head-y := arch/score/kernel/head.o
29 libs-y += arch/score/lib/
30 core-y += arch/score/kernel/ arch/score/mm/
32 boot := arch/score/boot
34 vmlinux.bin: vmlinux
35 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
37 archclean:
38 @$(MAKE) $(clean)=$(boot)
40 define archhelp
41 echo ' vmlinux.bin - Raw binary boot image'
42 echo
43 echo ' These will be default as apropriate for a configured platform.'
44 endef