Linux-2.6.12-rc2
[linux-3.10.git] / arch / arm / kernel / Makefile
1 #
2 # Makefile for the linux kernel.
3 #
4
5 AFLAGS_head.o := -DTEXTADDR=$(TEXTADDR) -DDATAADDR=$(DATAADDR)
6
7 # Object file lists.
8
9 obj-y           := arch.o compat.o dma.o entry-armv.o entry-common.o irq.o   \
10                    process.o ptrace.o semaphore.o setup.o signal.o sys_arm.o \
11                    time.o traps.o
12
13 obj-$(CONFIG_APM)               += apm.o
14 obj-$(CONFIG_ARCH_ACORN)        += ecard.o 
15 obj-$(CONFIG_FOOTBRIDGE)        += isa.o
16 obj-$(CONFIG_FIQ)               += fiq.o
17 obj-$(CONFIG_MODULES)           += armksyms.o module.o
18 obj-$(CONFIG_ARTHUR)            += arthur.o
19 obj-$(CONFIG_ISA_DMA)           += dma-isa.o
20 obj-$(CONFIG_PCI)               += bios32.o
21 obj-$(CONFIG_SMP)               += smp.o
22
23 obj-$(CONFIG_IWMMXT)            += iwmmxt.o
24 AFLAGS_iwmmxt.o                 := -Wa,-mcpu=iwmmxt
25
26 ifneq ($(CONFIG_ARCH_EBSA110),y)
27   obj-y         += io.o
28 endif
29
30 head-y                  := head.o
31 obj-$(CONFIG_DEBUG_LL)  += debug.o
32
33 extra-y := $(head-y) init_task.o vmlinux.lds
34
35 # Spell out some dependencies that aren't automatically figured out
36 $(obj)/entry-armv.o:    $(obj)/entry-header.S include/asm-arm/constants.h
37 $(obj)/entry-common.o:  $(obj)/entry-header.S include/asm-arm/constants.h \
38                         $(obj)/calls.S