Makefile (043cb41a85de1c0e944da61ad7a264960e22c865) Makefile (2875fe0561569f82d0e63658ccf0d11ce7da8922)
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
8CFLAGS_REMOVE_patch.o = -pg

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

29obj-y += cacheinfo.o
30obj-y += patch.o
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
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
8CFLAGS_REMOVE_patch.o = -pg

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

29obj-y += cacheinfo.o
30obj-y += patch.o
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_SMP) += cpu_ops.o
38obj-$(CONFIG_SMP) += cpu_ops_spinwait.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:
39obj-$(CONFIG_MODULES) += module.o
40obj-$(CONFIG_MODULE_SECTIONS) += module-sections.o
41
42obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
43obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
44
45obj-$(CONFIG_PERF_EVENTS) += perf_event.o
46obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
47obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o
48obj-$(CONFIG_RISCV_SBI) += sbi.o
49
50clean: