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 Rutland | 00ef54b | 2013-10-24 20:30:14 +0100 | [diff] [blame] | 17 | arm64-obj-$(CONFIG_SMP) += smp.o smp_spin_table.o |
Catalin Marinas | 8c2c3df | 2012-04-20 14:45:54 +0100 | [diff] [blame] | 18 | arm64-obj-$(CONFIG_HW_PERF_EVENTS) += perf_event.o |
| 19 | arm64-obj-$(CONFIG_HAVE_HW_BREAKPOINT)+= hw_breakpoint.o |
Catalin Marinas | 2475ff9 | 2012-10-23 14:55:08 +0100 | [diff] [blame] | 20 | arm64-obj-$(CONFIG_EARLY_PRINTK) += early_printk.o |
Lorenzo Pieralisi | 166936b | 2013-11-07 18:37:14 +0000 | [diff] [blame] | 21 | arm64-obj-$(CONFIG_ARM64_CPU_SUSPEND) += sleep.o suspend.o |
Jiang Liu | 9732caf | 2014-01-07 22:17:13 +0800 | [diff] [blame^] | 22 | arm64-obj-$(CONFIG_JUMP_LABEL) += jump_label.o |
Catalin Marinas | 8c2c3df | 2012-04-20 14:45:54 +0100 | [diff] [blame] | 23 | |
| 24 | obj-y += $(arm64-obj-y) vdso/ |
| 25 | obj-m += $(arm64-obj-m) |
| 26 | head-y := head.o |
| 27 | extra-y := $(head-y) vmlinux.lds |
| 28 | |
| 29 | # vDSO - this must be built first to generate the symbol offsets |
| 30 | $(call objectify,$(arm64-obj-y)): $(obj)/vdso/vdso-offsets.h |
| 31 | $(obj)/vdso/vdso-offsets.h: $(obj)/vdso |