Makefile 1.36 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1
2
3
4
#
# Makefile for the linux kernel.
#

5
AFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET)
Linus Torvalds's avatar
Linus Torvalds committed
6

Abhishek Sagar's avatar
Abhishek Sagar committed
7
8
9
10
ifdef CONFIG_DYNAMIC_FTRACE
CFLAGS_REMOVE_ftrace.o = -pg
endif

Linus Torvalds's avatar
Linus Torvalds committed
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
Linus Torvalds's avatar
Linus Torvalds committed
16

17
obj-$(CONFIG_ISA_DMA_API)	+= dma.o
Linus Torvalds's avatar
Linus Torvalds committed
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
Linus Torvalds's avatar
Linus Torvalds committed
24
obj-$(CONFIG_SMP)		+= smp.o
Abhishek Sagar's avatar
Abhishek Sagar committed
25
obj-$(CONFIG_DYNAMIC_FTRACE)	+= ftrace.o
26
obj-$(CONFIG_KEXEC)		+= machine_kexec.o relocate_kernel.o
Abhishek Sagar's avatar
Abhishek Sagar committed
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
Jason Wessel's avatar
Jason Wessel committed
31
obj-$(CONFIG_KGDB)		+= kgdb.o
32
obj-$(CONFIG_ARM_UNWIND)	+= unwind.o
Linus Torvalds's avatar
Linus Torvalds committed
33

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

37
38
obj-$(CONFIG_CPU_XSCALE)	+= xscale-cp0.o
obj-$(CONFIG_CPU_XSC3)		+= xscale-cp0.o
39
obj-$(CONFIG_CPU_MOHAWK)	+= xscale-cp0.o
40
obj-$(CONFIG_IWMMXT)		+= iwmmxt.o
Linus Torvalds's avatar
Linus Torvalds committed
41
42
43
44
45
46
AFLAGS_iwmmxt.o			:= -Wa,-mcpu=iwmmxt

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

47
head-y			:= head$(MMUEXT).o
Linus Torvalds's avatar
Linus Torvalds committed
48
49
50
obj-$(CONFIG_DEBUG_LL)	+= debug.o

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