Makefile (80901bff812984624918d9d03f9286e3245ee9a5) Makefile (63b13e64a829e7b12fba81fccbea0d5448fc0c24)
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)

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

43obj-$(CONFIG_SMP) += smpboot.o
44obj-$(CONFIG_SMP) += smp.o
45obj-$(CONFIG_SMP) += cpu_ops.o
46
47obj-$(CONFIG_RISCV_BOOT_SPINWAIT) += cpu_ops_spinwait.o
48obj-$(CONFIG_MODULES) += module.o
49obj-$(CONFIG_MODULE_SECTIONS) += module-sections.o
50
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)

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

43obj-$(CONFIG_SMP) += smpboot.o
44obj-$(CONFIG_SMP) += smp.o
45obj-$(CONFIG_SMP) += cpu_ops.o
46
47obj-$(CONFIG_RISCV_BOOT_SPINWAIT) += cpu_ops_spinwait.o
48obj-$(CONFIG_MODULES) += module.o
49obj-$(CONFIG_MODULE_SECTIONS) += module-sections.o
50
51obj-$(CONFIG_CPU_PM) += suspend_entry.o suspend.o
52
51obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
52obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
53
53obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
54obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
55
54obj-$(CONFIG_TRACE_IRQFLAGS) += trace_irq.o
55
56obj-$(CONFIG_RISCV_BASE_PMU) += perf_event.o
57obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
58obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o
59obj-$(CONFIG_RISCV_SBI) += sbi.o
60ifeq ($(CONFIG_RISCV_SBI), y)
61obj-$(CONFIG_SMP) += cpu_ops_sbi.o
62endif
63obj-$(CONFIG_HOTPLUG_CPU) += cpu-hotplug.o
64obj-$(CONFIG_KGDB) += kgdb.o
65obj-$(CONFIG_KEXEC) += kexec_relocate.o crash_save_regs.o machine_kexec.o
66obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
67
68obj-$(CONFIG_JUMP_LABEL) += jump_label.o
69
70obj-$(CONFIG_EFI) += efi.o
56obj-$(CONFIG_RISCV_BASE_PMU) += perf_event.o
57obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
58obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o
59obj-$(CONFIG_RISCV_SBI) += sbi.o
60ifeq ($(CONFIG_RISCV_SBI), y)
61obj-$(CONFIG_SMP) += cpu_ops_sbi.o
62endif
63obj-$(CONFIG_HOTPLUG_CPU) += cpu-hotplug.o
64obj-$(CONFIG_KGDB) += kgdb.o
65obj-$(CONFIG_KEXEC) += kexec_relocate.o crash_save_regs.o machine_kexec.o
66obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
67
68obj-$(CONFIG_JUMP_LABEL) += jump_label.o
69
70obj-$(CONFIG_EFI) += efi.o