Makefile (c95baf12f5077419db01313ab61c2aac007d40cd) Makefile (043cb41a85de1c0e944da61ad7a264960e22c865)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Makefile for the RISC-V Linux kernel
4#
5
6ifdef CONFIG_FTRACE
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 = -pg
7CFLAGS_REMOVE_ftrace.o = -pg
8CFLAGS_REMOVE_patch.o = -pg
8endif
9
10extra-y += head.o
11extra-y += vmlinux.lds
12
13obj-y += cpu.o
14obj-y += cpufeature.o
15obj-y += entry.o

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

21obj-y += signal.o
22obj-y += syscall_table.o
23obj-y += sys_riscv.o
24obj-y += time.o
25obj-y += traps.o
26obj-y += riscv_ksyms.o
27obj-y += stacktrace.o
28obj-y += cacheinfo.o
9endif
10
11extra-y += head.o
12extra-y += vmlinux.lds
13
14obj-y += cpu.o
15obj-y += cpufeature.o
16obj-y += entry.o

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

22obj-y += signal.o
23obj-y += syscall_table.o
24obj-y += sys_riscv.o
25obj-y += time.o
26obj-y += traps.o
27obj-y += riscv_ksyms.o
28obj-y += stacktrace.o
29obj-y += cacheinfo.o
30obj-y += patch.o
29obj-$(CONFIG_MMU) += vdso.o vdso/
30
31obj-$(CONFIG_RISCV_M_MODE) += clint.o
32obj-$(CONFIG_FPU) += fpu.o
33obj-$(CONFIG_SMP) += smpboot.o
34obj-$(CONFIG_SMP) += smp.o
35obj-$(CONFIG_MODULES) += module.o
36obj-$(CONFIG_MODULE_SECTIONS) += module-sections.o
37
38obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
39obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
40
41obj-$(CONFIG_PERF_EVENTS) += perf_event.o
42obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
43obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o
44obj-$(CONFIG_RISCV_SBI) += sbi.o
45
46clean:
31obj-$(CONFIG_MMU) += vdso.o vdso/
32
33obj-$(CONFIG_RISCV_M_MODE) += clint.o
34obj-$(CONFIG_FPU) += fpu.o
35obj-$(CONFIG_SMP) += smpboot.o
36obj-$(CONFIG_SMP) += smp.o
37obj-$(CONFIG_MODULES) += module.o
38obj-$(CONFIG_MODULE_SECTIONS) += module-sections.o
39
40obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
41obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
42
43obj-$(CONFIG_PERF_EVENTS) += perf_event.o
44obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
45obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o
46obj-$(CONFIG_RISCV_SBI) += sbi.o
47
48clean: