arm64: dts: Revert "specify console via command line"
[linux/fpc-iii.git] / arch / riscv / kernel / Makefile
blobf40205cb9a2277c1583adfe10bd973c6cec261d9
1 # SPDX-License-Identifier: GPL-2.0-only
3 # Makefile for the RISC-V Linux kernel
6 ifdef CONFIG_FTRACE
7 CFLAGS_REMOVE_ftrace.o = -pg
8 endif
10 extra-y += head.o
11 extra-y += vmlinux.lds
13 obj-y += cpu.o
14 obj-y += cpufeature.o
15 obj-y += entry.o
16 obj-y += irq.o
17 obj-y += process.o
18 obj-y += ptrace.o
19 obj-y += reset.o
20 obj-y += setup.o
21 obj-y += signal.o
22 obj-y += syscall_table.o
23 obj-y += sys_riscv.o
24 obj-y += time.o
25 obj-y += traps.o
26 obj-y += riscv_ksyms.o
27 obj-y += stacktrace.o
28 obj-y += cacheinfo.o
29 obj-$(CONFIG_MMU) += vdso.o vdso/
31 obj-$(CONFIG_RISCV_M_MODE) += clint.o
32 obj-$(CONFIG_FPU) += fpu.o
33 obj-$(CONFIG_SMP) += smpboot.o
34 obj-$(CONFIG_SMP) += smp.o
35 obj-$(CONFIG_MODULES) += module.o
36 obj-$(CONFIG_MODULE_SECTIONS) += module-sections.o
38 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
39 obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
41 obj-$(CONFIG_PERF_EVENTS) += perf_event.o
42 obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
43 obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o
44 obj-$(CONFIG_RISCV_SBI) += sbi.o
46 clean: