xref: /linux/arch/arm/kernel/Makefile (revision f16fb1ecc5a1cb2f7cc595179d1fe55e711e599f)
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*f16fb1ecSRussell King		   process.o ptrace.o semaphore.o setup.o signal.o \
11*f16fb1ecSRussell 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
22687ad019SNicolas Pitreobj-$(CONFIG_OABI_COMPAT)	+= sys_oabi-compat.o
231da177e4SLinus Torvalds
24c17fad11SLennert Buytenhekobj-$(CONFIG_CRUNCH)		+= crunch.o crunch-bits.o
25c17fad11SLennert BuytenhekAFLAGS_crunch-bits.o		:= -Wa,-mcpu=ep9312
26c17fad11SLennert Buytenhek
27afe4b25eSLennert Buytenhekobj-$(CONFIG_CPU_XSCALE)	+= xscale-cp0.o
28afe4b25eSLennert Buytenhekobj-$(CONFIG_CPU_XSC3)		+= xscale-cp0.o
29afe4b25eSLennert Buytenhekobj-$(CONFIG_IWMMXT)		+= iwmmxt.o
301da177e4SLinus TorvaldsAFLAGS_iwmmxt.o			:= -Wa,-mcpu=iwmmxt
311da177e4SLinus Torvalds
321da177e4SLinus Torvaldsifneq ($(CONFIG_ARCH_EBSA110),y)
331da177e4SLinus Torvalds  obj-y		+= io.o
341da177e4SLinus Torvaldsendif
351da177e4SLinus Torvalds
363b920cefSHyok S. Choihead-y			:= head$(MMUEXT).o
371da177e4SLinus Torvaldsobj-$(CONFIG_DEBUG_LL)	+= debug.o
381da177e4SLinus Torvalds
391da177e4SLinus Torvaldsextra-y := $(head-y) init_task.o vmlinux.lds
40