Catalin Marinas | 8c2c3df | 2012-04-20 14:45:54 +0100 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
| 4 | |
| 5 | CPPFLAGS_vmlinux.lds := -DTEXT_OFFSET=$(TEXT_OFFSET) |
| 6 | AFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET) |
| 7 | |
| 8 | # Object file lists. |
| 9 | arm64-obj-y := cputable.o debug-monitors.o entry.o irq.o fpsimd.o \ |
| 10 | entry-fpsimd.o process.o ptrace.o setup.o signal.o \ |
Marc Zyngier | 712c6ff | 2012-10-19 17:46:27 +0100 | [diff] [blame] | 11 | sys.o stacktrace.o time.o traps.o io.o vdso.o \ |
Jiang Liu | b11a64a | 2014-01-07 22:17:08 +0800 | [diff] [blame] | 12 | hyp-stub.o psci.o cpu_ops.o insn.o |
Catalin Marinas | 8c2c3df | 2012-04-20 14:45:54 +0100 | [diff] [blame] | 13 | |
| 14 | arm64-obj-$(CONFIG_COMPAT) += sys32.o kuser32.o signal32.o \ |
| 15 | sys_compat.o |
| 16 | arm64-obj-$(CONFIG_MODULES) += arm64ksyms.o module.o |
Mark Brown | f6e763b | 2014-03-04 07:51:17 +0000 | [diff] [blame] | 17 | arm64-obj-$(CONFIG_SMP) += smp.o smp_spin_table.o topology.o |
Jean Pihet | 2ee0d7f | 2014-02-03 19:18:27 +0100 | [diff] [blame] | 18 | arm64-obj-$(CONFIG_PERF_EVENTS) += perf_regs.o |
Catalin Marinas | 8c2c3df | 2012-04-20 14:45:54 +0100 | [diff] [blame] | 19 | arm64-obj-$(CONFIG_HW_PERF_EVENTS) += perf_event.o |
Jean Pihet | 2ee0d7f | 2014-02-03 19:18:27 +0100 | [diff] [blame] | 20 | arm64-obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o |
Catalin Marinas | 2475ff9 | 2012-10-23 14:55:08 +0100 | [diff] [blame] | 21 | arm64-obj-$(CONFIG_EARLY_PRINTK) += early_printk.o |
Lorenzo Pieralisi | 166936b | 2013-11-07 18:37:14 +0000 | [diff] [blame] | 22 | arm64-obj-$(CONFIG_ARM64_CPU_SUSPEND) += sleep.o suspend.o |
Jiang Liu | 9732caf | 2014-01-07 22:17:13 +0800 | [diff] [blame] | 23 | arm64-obj-$(CONFIG_JUMP_LABEL) += jump_label.o |
Vijaya Kumar K | bcf5763 | 2014-01-28 16:50:18 +0530 | [diff] [blame] | 24 | arm64-obj-$(CONFIG_KGDB) += kgdb.o |
Catalin Marinas | 8c2c3df | 2012-04-20 14:45:54 +0100 | [diff] [blame] | 25 | |
| 26 | obj-y += $(arm64-obj-y) vdso/ |
| 27 | obj-m += $(arm64-obj-m) |
| 28 | head-y := head.o |
| 29 | extra-y := $(head-y) vmlinux.lds |
| 30 | |
| 31 | # vDSO - this must be built first to generate the symbol offsets |
| 32 | $(call objectify,$(arm64-obj-y)): $(obj)/vdso/vdso-offsets.h |
| 33 | $(obj)/vdso/vdso-offsets.h: $(obj)/vdso |