xref: /linux/arch/arm/kernel/Makefile (revision c17fad11f3105ca4d5bbb2686725aad208f5ead4)
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_FOOTBRIDGE)	+= isa.o
171da177e4SLinus Torvaldsobj-$(CONFIG_FIQ)		+= fiq.o
181da177e4SLinus Torvaldsobj-$(CONFIG_MODULES)		+= armksyms.o module.o
191da177e4SLinus Torvaldsobj-$(CONFIG_ARTHUR)		+= arthur.o
201da177e4SLinus Torvaldsobj-$(CONFIG_ISA_DMA)		+= dma-isa.o
211da177e4SLinus Torvaldsobj-$(CONFIG_PCI)		+= bios32.o
221da177e4SLinus Torvaldsobj-$(CONFIG_SMP)		+= smp.o
23687ad019SNicolas Pitreobj-$(CONFIG_OABI_COMPAT)	+= sys_oabi-compat.o
241da177e4SLinus Torvalds
25*c17fad11SLennert Buytenhekobj-$(CONFIG_CRUNCH)		+= crunch.o crunch-bits.o
26*c17fad11SLennert BuytenhekAFLAGS_crunch-bits.o		:= -Wa,-mcpu=ep9312
27*c17fad11SLennert Buytenhek
281da177e4SLinus Torvaldsobj-$(CONFIG_IWMMXT)		+= iwmmxt.o
291da177e4SLinus TorvaldsAFLAGS_iwmmxt.o			:= -Wa,-mcpu=iwmmxt
301da177e4SLinus Torvalds
311da177e4SLinus Torvaldsifneq ($(CONFIG_ARCH_EBSA110),y)
321da177e4SLinus Torvalds  obj-y		+= io.o
331da177e4SLinus Torvaldsendif
341da177e4SLinus Torvalds
353b920cefSHyok S. Choihead-y			:= head$(MMUEXT).o
361da177e4SLinus Torvaldsobj-$(CONFIG_DEBUG_LL)	+= debug.o
371da177e4SLinus Torvalds
381da177e4SLinus Torvaldsextra-y := $(head-y) init_task.o vmlinux.lds
39