11da177e4SLinus Torvalds# 21da177e4SLinus Torvalds# Makefile for the linux kernel. 31da177e4SLinus Torvalds# 41da177e4SLinus Torvalds 59d4f13e5SRussell KingAFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET) 61da177e4SLinus Torvalds 7014c257cSAbhishek Sagarifdef CONFIG_DYNAMIC_FTRACE 8014c257cSAbhishek SagarCFLAGS_REMOVE_ftrace.o = -pg 9014c257cSAbhishek Sagarendif 10014c257cSAbhishek Sagar 111da177e4SLinus Torvalds# Object file lists. 121da177e4SLinus Torvalds 13065909b9SRussell Kingobj-y := compat.o entry-armv.o entry-common.o irq.o \ 1464ac24e7SMatthew Wilcox process.o ptrace.o setup.o signal.o \ 15f16fb1ecSRussell King sys_arm.o stacktrace.o time.o traps.o 161da177e4SLinus Torvalds 17065909b9SRussell Kingobj-$(CONFIG_ISA_DMA_API) += dma.o 181da177e4SLinus Torvaldsobj-$(CONFIG_ARCH_ACORN) += ecard.o 191da177e4SLinus Torvaldsobj-$(CONFIG_FIQ) += fiq.o 201da177e4SLinus Torvaldsobj-$(CONFIG_MODULES) += armksyms.o module.o 211da177e4SLinus Torvaldsobj-$(CONFIG_ARTHUR) += arthur.o 221da177e4SLinus Torvaldsobj-$(CONFIG_ISA_DMA) += dma-isa.o 23863dab45SRussell Kingobj-$(CONFIG_PCI) += bios32.o isa.o 241da177e4SLinus Torvaldsobj-$(CONFIG_SMP) += smp.o 25014c257cSAbhishek Sagarobj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o 26c587e4a6SRichard Purdieobj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o 2724ba613cSAbhishek Sagarobj-$(CONFIG_KPROBES) += kprobes.o kprobes-decode.o 284cd9d6f7SRichard Purdieobj-$(CONFIG_ATAGS_PROC) += atags.o 29687ad019SNicolas Pitreobj-$(CONFIG_OABI_COMPAT) += sys_oabi-compat.o 30d7f864beSCatalin Marinasobj-$(CONFIG_ARM_THUMBEE) += thumbee.o 31*5cbad0ebSJason Wesselobj-$(CONFIG_KGDB) += kgdb.o 321da177e4SLinus Torvalds 33c17fad11SLennert Buytenhekobj-$(CONFIG_CRUNCH) += crunch.o crunch-bits.o 34c17fad11SLennert BuytenhekAFLAGS_crunch-bits.o := -Wa,-mcpu=ep9312 35c17fad11SLennert Buytenhek 36afe4b25eSLennert Buytenhekobj-$(CONFIG_CPU_XSCALE) += xscale-cp0.o 37afe4b25eSLennert Buytenhekobj-$(CONFIG_CPU_XSC3) += xscale-cp0.o 38afe4b25eSLennert Buytenhekobj-$(CONFIG_IWMMXT) += iwmmxt.o 391da177e4SLinus TorvaldsAFLAGS_iwmmxt.o := -Wa,-mcpu=iwmmxt 401da177e4SLinus Torvalds 411da177e4SLinus Torvaldsifneq ($(CONFIG_ARCH_EBSA110),y) 421da177e4SLinus Torvalds obj-y += io.o 431da177e4SLinus Torvaldsendif 441da177e4SLinus Torvalds 453b920cefSHyok S. Choihead-y := head$(MMUEXT).o 461da177e4SLinus Torvaldsobj-$(CONFIG_DEBUG_LL) += debug.o 471da177e4SLinus Torvalds 481da177e4SLinus Torvaldsextra-y := $(head-y) init_task.o vmlinux.lds 49