Makefile 1.0 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4
#
# Makefile for the linux kernel.
#

5
AFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET)
L
Linus Torvalds 已提交
6 7 8

# Object file lists.

9
obj-y		:= compat.o entry-armv.o entry-common.o irq.o \
10 11
		   process.o ptrace.o semaphore.o setup.o signal.o \
		   sys_arm.o stacktrace.o time.o traps.o
L
Linus Torvalds 已提交
12

13
obj-$(CONFIG_ISA_DMA_API)	+= dma.o
L
Linus Torvalds 已提交
14 15 16 17 18
obj-$(CONFIG_ARCH_ACORN)	+= ecard.o 
obj-$(CONFIG_FIQ)		+= fiq.o
obj-$(CONFIG_MODULES)		+= armksyms.o module.o
obj-$(CONFIG_ARTHUR)		+= arthur.o
obj-$(CONFIG_ISA_DMA)		+= dma-isa.o
19
obj-$(CONFIG_PCI)		+= bios32.o isa.o
L
Linus Torvalds 已提交
20
obj-$(CONFIG_SMP)		+= smp.o
R
Richard Purdie 已提交
21
obj-$(CONFIG_KEXEC)		+= machine_kexec.o relocate_kernel.o
22
obj-$(CONFIG_OABI_COMPAT)	+= sys_oabi-compat.o
L
Linus Torvalds 已提交
23

24 25 26
obj-$(CONFIG_CRUNCH)		+= crunch.o crunch-bits.o
AFLAGS_crunch-bits.o		:= -Wa,-mcpu=ep9312

27 28 29
obj-$(CONFIG_CPU_XSCALE)	+= xscale-cp0.o
obj-$(CONFIG_CPU_XSC3)		+= xscale-cp0.o
obj-$(CONFIG_IWMMXT)		+= iwmmxt.o
L
Linus Torvalds 已提交
30 31 32 33 34 35
AFLAGS_iwmmxt.o			:= -Wa,-mcpu=iwmmxt

ifneq ($(CONFIG_ARCH_EBSA110),y)
  obj-y		+= io.o
endif

36
head-y			:= head$(MMUEXT).o
L
Linus Torvalds 已提交
37 38 39
obj-$(CONFIG_DEBUG_LL)	+= debug.o

extra-y := $(head-y) init_task.o vmlinux.lds