xref: /linux/arch/arm/kernel/Makefile (revision c587e4a6a4d808fd2a1c4e7fb2d5a3a31e300d23)
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 \
101da177e4SLinus Torvalds		   process.o ptrace.o semaphore.o setup.o signal.o sys_arm.o \
111da177e4SLinus Torvalds		   time.o traps.o
121da177e4SLinus Torvalds
131da177e4SLinus Torvaldsobj-$(CONFIG_APM)		+= apm.o
14065909b9SRussell Kingobj-$(CONFIG_ISA_DMA_API)	+= dma.o
151da177e4SLinus Torvaldsobj-$(CONFIG_ARCH_ACORN)	+= ecard.o
161da177e4SLinus Torvaldsobj-$(CONFIG_FIQ)		+= fiq.o
171da177e4SLinus Torvaldsobj-$(CONFIG_MODULES)		+= armksyms.o module.o
181da177e4SLinus Torvaldsobj-$(CONFIG_ARTHUR)		+= arthur.o
191da177e4SLinus Torvaldsobj-$(CONFIG_ISA_DMA)		+= dma-isa.o
20863dab45SRussell Kingobj-$(CONFIG_PCI)		+= bios32.o isa.o
211da177e4SLinus Torvaldsobj-$(CONFIG_SMP)		+= smp.o
22*c587e4a6SRichard Purdieobj-$(CONFIG_KEXEC)		+= machine_kexec.o relocate_kernel.o
23687ad019SNicolas Pitreobj-$(CONFIG_OABI_COMPAT)	+= sys_oabi-compat.o
241da177e4SLinus Torvalds
25c17fad11SLennert Buytenhekobj-$(CONFIG_CRUNCH)		+= crunch.o crunch-bits.o
26c17fad11SLennert BuytenhekAFLAGS_crunch-bits.o		:= -Wa,-mcpu=ep9312
27c17fad11SLennert Buytenhek
28afe4b25eSLennert Buytenhekobj-$(CONFIG_CPU_XSCALE)	+= xscale-cp0.o
29afe4b25eSLennert Buytenhekobj-$(CONFIG_CPU_XSC3)		+= xscale-cp0.o
30afe4b25eSLennert Buytenhekobj-$(CONFIG_IWMMXT)		+= iwmmxt.o
311da177e4SLinus TorvaldsAFLAGS_iwmmxt.o			:= -Wa,-mcpu=iwmmxt
321da177e4SLinus Torvalds
331da177e4SLinus Torvaldsifneq ($(CONFIG_ARCH_EBSA110),y)
341da177e4SLinus Torvalds  obj-y		+= io.o
351da177e4SLinus Torvaldsendif
361da177e4SLinus Torvalds
373b920cefSHyok S. Choihead-y			:= head$(MMUEXT).o
381da177e4SLinus Torvaldsobj-$(CONFIG_DEBUG_LL)	+= debug.o
391da177e4SLinus Torvalds
401da177e4SLinus Torvaldsextra-y := $(head-y) init_task.o vmlinux.lds
41