Makefile (0715372a06ce17a9ba69bbec306ddf30c4bad99e) Makefile (e64f737ad70fee4a3c57d147fc511e5d5014b5dd)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Makefile for the RISC-V Linux kernel
4#
5
6ifdef CONFIG_FTRACE
7CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)
8CFLAGS_REMOVE_patch.o = $(CC_FLAGS_FTRACE)

--- 4 unchanged lines hidden (view full) ---

13ifdef CONFIG_KEXEC
14AFLAGS_kexec_relocate.o := -mcmodel=medany $(call cc-option,-mno-relax)
15endif
16
17extra-y += head.o
18extra-y += vmlinux.lds
19
20obj-y += soc.o
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Makefile for the RISC-V Linux kernel
4#
5
6ifdef CONFIG_FTRACE
7CFLAGS_REMOVE_ftrace.o = $(CC_FLAGS_FTRACE)
8CFLAGS_REMOVE_patch.o = $(CC_FLAGS_FTRACE)

--- 4 unchanged lines hidden (view full) ---

13ifdef CONFIG_KEXEC
14AFLAGS_kexec_relocate.o := -mcmodel=medany $(call cc-option,-mno-relax)
15endif
16
17extra-y += head.o
18extra-y += vmlinux.lds
19
20obj-y += soc.o
21obj-$(CONFIG_RISCV_ALTERNATIVE) += alternative.o
21obj-y += cpu.o
22obj-y += cpufeature.o
23obj-y += entry.o
24obj-y += irq.o
25obj-y += process.o
26obj-y += ptrace.o
27obj-y += reset.o
28obj-y += setup.o

--- 35 unchanged lines hidden (view full) ---

64obj-$(CONFIG_HOTPLUG_CPU) += cpu-hotplug.o
65obj-$(CONFIG_KGDB) += kgdb.o
66obj-$(CONFIG_KEXEC) += kexec_relocate.o crash_save_regs.o machine_kexec.o
67obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
68
69obj-$(CONFIG_JUMP_LABEL) += jump_label.o
70
71obj-$(CONFIG_EFI) += efi.o
22obj-y += cpu.o
23obj-y += cpufeature.o
24obj-y += entry.o
25obj-y += irq.o
26obj-y += process.o
27obj-y += ptrace.o
28obj-y += reset.o
29obj-y += setup.o

--- 35 unchanged lines hidden (view full) ---

65obj-$(CONFIG_HOTPLUG_CPU) += cpu-hotplug.o
66obj-$(CONFIG_KGDB) += kgdb.o
67obj-$(CONFIG_KEXEC) += kexec_relocate.o crash_save_regs.o machine_kexec.o
68obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
69
70obj-$(CONFIG_JUMP_LABEL) += jump_label.o
71
72obj-$(CONFIG_EFI) += efi.o
72obj-$(CONFIG_COMPAT) += compat_syscall_table.o
73obj-$(CONFIG_COMPAT) += compat_vdso/