xref: /linux/arch/arm/kernel/Makefile (revision 24ba613c9d6cad315f484e658288db152f1dc447)
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 \
10f16fb1ecSRussell King		   process.o ptrace.o semaphore.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
22*24ba613cSAbhishek Sagarobj-$(CONFIG_KPROBES)		+= kprobes.o kprobes-decode.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