Makefile (ac94be498f84f7327533b62faca4c3da64434904) Makefile (fcdc65375186a5cd69cc2eedfb498b86f4f5a21e)
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
8endif

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

24obj-y += time.o
25obj-y += traps.o
26obj-y += riscv_ksyms.o
27obj-y += stacktrace.o
28obj-y += vdso.o
29obj-y += cacheinfo.o
30obj-y += vdso/
31
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
8endif

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

24obj-y += time.o
25obj-y += traps.o
26obj-y += riscv_ksyms.o
27obj-y += stacktrace.o
28obj-y += vdso.o
29obj-y += cacheinfo.o
30obj-y += vdso/
31
32obj-$(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
33obj-$(CONFIG_FPU) += fpu.o
34obj-$(CONFIG_SMP) += smpboot.o
35obj-$(CONFIG_SMP) += smp.o
36obj-$(CONFIG_MODULES) += module.o
37obj-$(CONFIG_MODULE_SECTIONS) += module-sections.o
38
39obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
40obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
41
42obj-$(CONFIG_PERF_EVENTS) += perf_event.o
43obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
44obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o
45obj-$(CONFIG_RISCV_SBI) += sbi.o
44
45clean:
46
47clean: