1# 2# Makefile for the linux kernel. 3# 4 5AFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET) 6 7ifdef CONFIG_DYNAMIC_FTRACE 8CFLAGS_REMOVE_ftrace.o = -pg 9endif 10 11# Object file lists. 12 13obj-y := compat.o entry-armv.o entry-common.o irq.o \ 14 process.o ptrace.o setup.o signal.o \ 15 sys_arm.o stacktrace.o time.o traps.o 16 17obj-$(CONFIG_ISA_DMA_API) += dma.o 18obj-$(CONFIG_ARCH_ACORN) += ecard.o 19obj-$(CONFIG_FIQ) += fiq.o 20obj-$(CONFIG_MODULES) += armksyms.o module.o 21obj-$(CONFIG_ARTHUR) += arthur.o 22obj-$(CONFIG_ISA_DMA) += dma-isa.o 23obj-$(CONFIG_PCI) += bios32.o isa.o 24obj-$(CONFIG_SMP) += smp.o 25obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o 26obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o 27obj-$(CONFIG_KPROBES) += kprobes.o kprobes-decode.o 28obj-$(CONFIG_ATAGS_PROC) += atags.o 29obj-$(CONFIG_OABI_COMPAT) += sys_oabi-compat.o 30obj-$(CONFIG_ARM_THUMBEE) += thumbee.o 31obj-$(CONFIG_KGDB) += kgdb.o 32 33obj-$(CONFIG_CRUNCH) += crunch.o crunch-bits.o 34AFLAGS_crunch-bits.o := -Wa,-mcpu=ep9312 35 36obj-$(CONFIG_CPU_XSCALE) += xscale-cp0.o 37obj-$(CONFIG_CPU_XSC3) += xscale-cp0.o 38obj-$(CONFIG_IWMMXT) += iwmmxt.o 39AFLAGS_iwmmxt.o := -Wa,-mcpu=iwmmxt 40 41ifneq ($(CONFIG_ARCH_EBSA110),y) 42 obj-y += io.o 43endif 44 45head-y := head$(MMUEXT).o 46obj-$(CONFIG_DEBUG_LL) += debug.o 47 48extra-y := $(head-y) init_task.o vmlinux.lds 49