Makefile 1.3 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

A
Abhishek Sagar 已提交
7 8 9 10
ifdef CONFIG_DYNAMIC_FTRACE
CFLAGS_REMOVE_ftrace.o = -pg
endif

L
Linus Torvalds 已提交
11 12
# Object file lists.

13
obj-y		:= compat.o elf.o entry-armv.o entry-common.o irq.o \
14
		   process.o ptrace.o setup.o signal.o \
15
		   sys_arm.o stacktrace.o time.o traps.o
L
Linus Torvalds 已提交
16

17
obj-$(CONFIG_ISA_DMA_API)	+= dma.o
L
Linus Torvalds 已提交
18 19 20 21 22
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
23
obj-$(CONFIG_PCI)		+= bios32.o isa.o
L
Linus Torvalds 已提交
24
obj-$(CONFIG_SMP)		+= smp.o
A
Abhishek Sagar 已提交
25
obj-$(CONFIG_DYNAMIC_FTRACE)	+= ftrace.o
R
Richard Purdie 已提交
26
obj-$(CONFIG_KEXEC)		+= machine_kexec.o relocate_kernel.o
A
Abhishek Sagar 已提交
27
obj-$(CONFIG_KPROBES)		+= kprobes.o kprobes-decode.o
28
obj-$(CONFIG_ATAGS_PROC)	+= atags.o
29
obj-$(CONFIG_OABI_COMPAT)	+= sys_oabi-compat.o
30
obj-$(CONFIG_ARM_THUMBEE)	+= thumbee.o
J
Jason Wessel 已提交
31
obj-$(CONFIG_KGDB)		+= kgdb.o
32
obj-$(CONFIG_ARM_UNWIND)	+= unwind.o
L
Linus Torvalds 已提交
33

34 35 36
obj-$(CONFIG_CRUNCH)		+= crunch.o crunch-bits.o
AFLAGS_crunch-bits.o		:= -Wa,-mcpu=ep9312

37 38 39
obj-$(CONFIG_CPU_XSCALE)	+= xscale-cp0.o
obj-$(CONFIG_CPU_XSC3)		+= xscale-cp0.o
obj-$(CONFIG_IWMMXT)		+= iwmmxt.o
L
Linus Torvalds 已提交
40 41 42 43 44 45
AFLAGS_iwmmxt.o			:= -Wa,-mcpu=iwmmxt

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

46
head-y			:= head$(MMUEXT).o
L
Linus Torvalds 已提交
47 48 49
obj-$(CONFIG_DEBUG_LL)	+= debug.o

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