Makefile (986c6f7c3fc855032f3457a5a1b7fbcc09c375bb) Makefile (22e2100b1b07d6f5acc71cc1acb53f680c677d77)
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)

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

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_FUNCTION_TRACER) += mcount.o ftrace.o
52obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
53
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)

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

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_FUNCTION_TRACER) += mcount.o ftrace.o
52obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
53
54obj-$(CONFIG_TRACE_IRQFLAGS) += trace_irq.o
55
54obj-$(CONFIG_RISCV_BASE_PMU) += perf_event.o
55obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
56obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o
57obj-$(CONFIG_RISCV_SBI) += sbi.o
58ifeq ($(CONFIG_RISCV_SBI), y)
59obj-$(CONFIG_SMP) += cpu_ops_sbi.o
60endif
61obj-$(CONFIG_HOTPLUG_CPU) += cpu-hotplug.o
62obj-$(CONFIG_KGDB) += kgdb.o
63obj-$(CONFIG_KEXEC) += kexec_relocate.o crash_save_regs.o machine_kexec.o
64obj-$(CONFIG_CRASH_DUMP) += crash_dump.o
65
66obj-$(CONFIG_JUMP_LABEL) += jump_label.o
67
68obj-$(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