MINI2440: Add touchscreen support
[linux-2.6/mini2440.git] / arch / score / Makefile
blob68e0cd06d5c9632daea2e525460a1459b9e1beb7
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 MODFLAGS += -mlong-calls
24 LDFLAGS += --oformat elf32-littlescore
25 LDFLAGS_vmlinux += -G0 -static -nostdlib
27 head-y := arch/score/kernel/head.o
28 libs-y += arch/score/lib/
29 core-y += arch/score/kernel/ arch/score/mm/
31 boot := arch/score/boot
33 vmlinux.bin: vmlinux
34 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
36 archclean:
37 @$(MAKE) $(clean)=$(boot)
39 define archhelp
40 echo ' vmlinux.bin - Raw binary boot image'
41 echo
42 echo ' These will be default as apropriate for a configured platform.'
43 endef