]> git.ipfire.org Git - thirdparty/linux.git/blob - arch/riscv/kernel/Makefile
io_uring: reset -EBUSY error when io sq thread is waken up
[thirdparty/linux.git] / arch / riscv / kernel / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Makefile for the RISC-V Linux kernel
4 #
5
6 ifdef CONFIG_FTRACE
7 CFLAGS_REMOVE_ftrace.o = -pg
8 CFLAGS_REMOVE_patch.o = -pg
9 endif
10
11 extra-y += head.o
12 extra-y += vmlinux.lds
13
14 obj-y += soc.o
15 obj-y += cpu.o
16 obj-y += cpufeature.o
17 obj-y += entry.o
18 obj-y += irq.o
19 obj-y += process.o
20 obj-y += ptrace.o
21 obj-y += reset.o
22 obj-y += setup.o
23 obj-y += signal.o
24 obj-y += syscall_table.o
25 obj-y += sys_riscv.o
26 obj-y += time.o
27 obj-y += traps.o
28 obj-y += riscv_ksyms.o
29 obj-y += stacktrace.o
30 obj-y += cacheinfo.o
31 obj-y += patch.o
32 obj-$(CONFIG_MMU) += vdso.o vdso/
33
34 obj-$(CONFIG_RISCV_M_MODE) += clint.o traps_misaligned.o
35 obj-$(CONFIG_FPU) += fpu.o
36 obj-$(CONFIG_SMP) += smpboot.o
37 obj-$(CONFIG_SMP) += smp.o
38 obj-$(CONFIG_SMP) += cpu_ops.o
39 obj-$(CONFIG_SMP) += cpu_ops_spinwait.o
40 obj-$(CONFIG_MODULES) += module.o
41 obj-$(CONFIG_MODULE_SECTIONS) += module-sections.o
42
43 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
44 obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
45
46 obj-$(CONFIG_PERF_EVENTS) += perf_event.o
47 obj-$(CONFIG_PERF_EVENTS) += perf_callchain.o
48 obj-$(CONFIG_HAVE_PERF_REGS) += perf_regs.o
49 obj-$(CONFIG_RISCV_SBI) += sbi.o
50 ifeq ($(CONFIG_RISCV_SBI), y)
51 obj-$(CONFIG_SMP) += cpu_ops_sbi.o
52 endif
53 obj-$(CONFIG_HOTPLUG_CPU) += cpu-hotplug.o
54
55 clean: