Makefile (3f614ab563c44fa443cbb6a7f355bdd04a5a4450) Makefile (26e7aacb83dfd04330673c5c9ac336560da52bb3)
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)

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

63obj-$(CONFIG_MODULES) += module.o
64obj-$(CONFIG_MODULE_SECTIONS) += module-sections.o
65
66obj-$(CONFIG_CPU_PM) += suspend_entry.o suspend.o
67
68obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
69obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
70
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)

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

63obj-$(CONFIG_MODULES) += module.o
64obj-$(CONFIG_MODULE_SECTIONS) += module-sections.o
65
66obj-$(CONFIG_CPU_PM) += suspend_entry.o suspend.o
67
68obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
69obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
70
71obj-$(CONFIG_TRACE_IRQFLAGS) += trace_irq.o
72
73obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
74obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o
75obj-$(CONFIG_RISCV_SBI) += sbi.o
76ifeq ($(CONFIG_RISCV_SBI), y)
71obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
72obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o
73obj-$(CONFIG_RISCV_SBI) += sbi.o
74ifeq ($(CONFIG_RISCV_SBI), y)
77obj-$(CONFIG_SMP) += sbi-ipi.o
78obj-$(CONFIG_SMP) += cpu_ops_sbi.o
79endif
80obj-$(CONFIG_HOTPLUG_CPU) += cpu-hotplug.o
81obj-$(CONFIG_KGDB) += kgdb.o
82obj-$(CONFIG_KEXEC_CORE) += kexec_relocate.o crash_save_regs.o machine_kexec.o
83obj-$(CONFIG_KEXEC_FILE) += elf_kexec.o machine_kexec_file.o
84obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
85obj-$(CONFIG_CRASH_CORE) += crash_core.o
86
87obj-$(CONFIG_JUMP_LABEL) += jump_label.o
88
89obj-$(CONFIG_EFI) += efi.o
90obj-$(CONFIG_COMPAT) += compat_syscall_table.o
91obj-$(CONFIG_COMPAT) += compat_signal.o
92obj-$(CONFIG_COMPAT) += compat_vdso/
75obj-$(CONFIG_SMP) += cpu_ops_sbi.o
76endif
77obj-$(CONFIG_HOTPLUG_CPU) += cpu-hotplug.o
78obj-$(CONFIG_KGDB) += kgdb.o
79obj-$(CONFIG_KEXEC_CORE) += kexec_relocate.o crash_save_regs.o machine_kexec.o
80obj-$(CONFIG_KEXEC_FILE) += elf_kexec.o machine_kexec_file.o
81obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
82obj-$(CONFIG_CRASH_CORE) += crash_core.o
83
84obj-$(CONFIG_JUMP_LABEL) += jump_label.o
85
86obj-$(CONFIG_EFI) += efi.o
87obj-$(CONFIG_COMPAT) += compat_syscall_table.o
88obj-$(CONFIG_COMPAT) += compat_signal.o
89obj-$(CONFIG_COMPAT) += compat_vdso/
90
91obj-$(CONFIG_64BIT) += pi/