blob: 2d4554b134100acbb6dab937326bdabcb12cd73e [file] [log] [blame]
Catalin Marinas8c2c3df2012-04-20 14:45:54 +01001#
2# Makefile for the linux kernel.
3#
4
5CPPFLAGS_vmlinux.lds := -DTEXT_OFFSET=$(TEXT_OFFSET)
6AFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET)
7
8# Object file lists.
9arm64-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 Zyngier712c6ff2012-10-19 17:46:27 +010011 sys.o stacktrace.o time.o traps.o io.o vdso.o \
Jiang Liub11a64a2014-01-07 22:17:08 +080012 hyp-stub.o psci.o cpu_ops.o insn.o
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010013
14arm64-obj-$(CONFIG_COMPAT) += sys32.o kuser32.o signal32.o \
15 sys_compat.o
16arm64-obj-$(CONFIG_MODULES) += arm64ksyms.o module.o
Mark Rutland00ef54b2013-10-24 20:30:14 +010017arm64-obj-$(CONFIG_SMP) += smp.o smp_spin_table.o
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010018arm64-obj-$(CONFIG_HW_PERF_EVENTS) += perf_event.o
19arm64-obj-$(CONFIG_HAVE_HW_BREAKPOINT)+= hw_breakpoint.o
Catalin Marinas2475ff92012-10-23 14:55:08 +010020arm64-obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
Lorenzo Pieralisi166936b2013-11-07 18:37:14 +000021arm64-obj-$(CONFIG_ARM64_CPU_SUSPEND) += sleep.o suspend.o
Jiang Liu9732caf2014-01-07 22:17:13 +080022arm64-obj-$(CONFIG_JUMP_LABEL) += jump_label.o
Catalin Marinas8c2c3df2012-04-20 14:45:54 +010023
24obj-y += $(arm64-obj-y) vdso/
25obj-m += $(arm64-obj-m)
26head-y := head.o
27extra-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