xref: /linux/arch/arm/kernel/Makefile (revision 64ac24e738823161693bf791f87adc802cf529ff)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the linux kernel.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
59d4f13e5SRussell KingAFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET)
61da177e4SLinus Torvalds
71da177e4SLinus Torvalds# Object file lists.
81da177e4SLinus Torvalds
9065909b9SRussell Kingobj-y		:= compat.o entry-armv.o entry-common.o irq.o \
10*64ac24e7SMatthew Wilcox		   process.o ptrace.o setup.o signal.o \
11f16fb1ecSRussell King		   sys_arm.o stacktrace.o time.o traps.o
121da177e4SLinus Torvalds
13065909b9SRussell Kingobj-$(CONFIG_ISA_DMA_API)	+= dma.o
141da177e4SLinus Torvaldsobj-$(CONFIG_ARCH_ACORN)	+= ecard.o
151da177e4SLinus Torvaldsobj-$(CONFIG_FIQ)		+= fiq.o
161da177e4SLinus Torvaldsobj-$(CONFIG_MODULES)		+= armksyms.o module.o
171da177e4SLinus Torvaldsobj-$(CONFIG_ARTHUR)		+= arthur.o
181da177e4SLinus Torvaldsobj-$(CONFIG_ISA_DMA)		+= dma-isa.o
19863dab45SRussell Kingobj-$(CONFIG_PCI)		+= bios32.o isa.o
201da177e4SLinus Torvaldsobj-$(CONFIG_SMP)		+= smp.o
21c587e4a6SRichard Purdieobj-$(CONFIG_KEXEC)		+= machine_kexec.o relocate_kernel.o
2224ba613cSAbhishek Sagarobj-$(CONFIG_KPROBES)		+= kprobes.o kprobes-decode.o
234cd9d6f7SRichard Purdieobj-$(CONFIG_ATAGS_PROC)	+= atags.o
24687ad019SNicolas Pitreobj-$(CONFIG_OABI_COMPAT)	+= sys_oabi-compat.o
251da177e4SLinus Torvalds
26c17fad11SLennert Buytenhekobj-$(CONFIG_CRUNCH)		+= crunch.o crunch-bits.o
27c17fad11SLennert BuytenhekAFLAGS_crunch-bits.o		:= -Wa,-mcpu=ep9312
28c17fad11SLennert Buytenhek
29afe4b25eSLennert Buytenhekobj-$(CONFIG_CPU_XSCALE)	+= xscale-cp0.o
30afe4b25eSLennert Buytenhekobj-$(CONFIG_CPU_XSC3)		+= xscale-cp0.o
31afe4b25eSLennert Buytenhekobj-$(CONFIG_IWMMXT)		+= iwmmxt.o
321da177e4SLinus TorvaldsAFLAGS_iwmmxt.o			:= -Wa,-mcpu=iwmmxt
331da177e4SLinus Torvalds
341da177e4SLinus Torvaldsifneq ($(CONFIG_ARCH_EBSA110),y)
351da177e4SLinus Torvalds  obj-y		+= io.o
361da177e4SLinus Torvaldsendif
371da177e4SLinus Torvalds
383b920cefSHyok S. Choihead-y			:= head$(MMUEXT).o
391da177e4SLinus Torvaldsobj-$(CONFIG_DEBUG_LL)	+= debug.o
401da177e4SLinus Torvalds
411da177e4SLinus Torvaldsextra-y := $(head-y) init_task.o vmlinux.lds
42