Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
| 4 | |
Russell King | 9d4f13e | 2006-01-03 17:28:33 +0000 | [diff] [blame] | 5 | AFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | |
Abhishek Sagar | 014c257 | 2008-05-31 14:23:50 +0530 | [diff] [blame] | 7 | ifdef CONFIG_DYNAMIC_FTRACE |
| 8 | CFLAGS_REMOVE_ftrace.o = -pg |
| 9 | endif |
| 10 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | # Object file lists. |
| 12 | |
Russell King | 8ec5366 | 2008-09-07 17:16:54 +0100 | [diff] [blame] | 13 | obj-y := compat.o elf.o entry-armv.o entry-common.o irq.o \ |
Matthew Wilcox | 64ac24e | 2008-03-07 21:55:58 -0500 | [diff] [blame] | 14 | process.o ptrace.o setup.o signal.o \ |
Russell King | f16fb1e | 2007-04-28 09:59:37 +0100 | [diff] [blame] | 15 | sys_arm.o stacktrace.o time.o traps.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |
Russell King | 065909b | 2006-01-04 15:44:16 +0000 | [diff] [blame] | 17 | obj-$(CONFIG_ISA_DMA_API) += dma.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | obj-$(CONFIG_ARCH_ACORN) += ecard.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | obj-$(CONFIG_FIQ) += fiq.o |
| 20 | obj-$(CONFIG_MODULES) += armksyms.o module.o |
| 21 | obj-$(CONFIG_ARTHUR) += arthur.o |
| 22 | obj-$(CONFIG_ISA_DMA) += dma-isa.o |
Russell King | 863dab4 | 2006-08-28 12:47:05 +0100 | [diff] [blame] | 23 | obj-$(CONFIG_PCI) += bios32.o isa.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | obj-$(CONFIG_SMP) += smp.o |
Abhishek Sagar | 014c257 | 2008-05-31 14:23:50 +0530 | [diff] [blame] | 25 | obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o |
Richard Purdie | c587e4a | 2007-02-06 21:29:00 +0100 | [diff] [blame] | 26 | obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o |
Abhishek Sagar | 24ba613 | 2007-06-11 22:20:10 +0000 | [diff] [blame] | 27 | obj-$(CONFIG_KPROBES) += kprobes.o kprobes-decode.o |
Richard Purdie | 4cd9d6f | 2008-01-02 00:56:46 +0100 | [diff] [blame] | 28 | obj-$(CONFIG_ATAGS_PROC) += atags.o |
Nicolas Pitre | 687ad01 | 2006-01-14 16:35:31 +0000 | [diff] [blame] | 29 | obj-$(CONFIG_OABI_COMPAT) += sys_oabi-compat.o |
Catalin Marinas | d7f864b | 2008-04-18 22:43:06 +0100 | [diff] [blame] | 30 | obj-$(CONFIG_ARM_THUMBEE) += thumbee.o |
Jason Wessel | 5cbad0e | 2008-02-20 13:33:40 -0600 | [diff] [blame] | 31 | obj-$(CONFIG_KGDB) += kgdb.o |
Catalin Marinas | adf8b37 | 2009-02-12 13:56:34 +0100 | [diff] [blame] | 32 | obj-$(CONFIG_ARM_UNWIND) += unwind.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | |
Lennert Buytenhek | c17fad1 | 2006-06-27 23:03:03 +0100 | [diff] [blame] | 34 | obj-$(CONFIG_CRUNCH) += crunch.o crunch-bits.o |
| 35 | AFLAGS_crunch-bits.o := -Wa,-mcpu=ep9312 |
| 36 | |
Lennert Buytenhek | afe4b25 | 2006-12-03 18:51:14 +0100 | [diff] [blame] | 37 | obj-$(CONFIG_CPU_XSCALE) += xscale-cp0.o |
| 38 | obj-$(CONFIG_CPU_XSC3) += xscale-cp0.o |
Eric Miao | 40305a5 | 2009-02-26 09:34:35 +0800 | [diff] [blame] | 39 | obj-$(CONFIG_CPU_MOHAWK) += xscale-cp0.o |
Lennert Buytenhek | afe4b25 | 2006-12-03 18:51:14 +0100 | [diff] [blame] | 40 | obj-$(CONFIG_IWMMXT) += iwmmxt.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 41 | AFLAGS_iwmmxt.o := -Wa,-mcpu=iwmmxt |
| 42 | |
| 43 | ifneq ($(CONFIG_ARCH_EBSA110),y) |
| 44 | obj-y += io.o |
| 45 | endif |
| 46 | |
Hyok S. Choi | 3b920ce | 2006-04-24 09:45:35 +0100 | [diff] [blame] | 47 | head-y := head$(MMUEXT).o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | obj-$(CONFIG_DEBUG_LL) += debug.o |
| 49 | |
| 50 | extra-y := $(head-y) init_task.o vmlinux.lds |