hugetlb: introduce generic version of hugetlb_free_pgd_range
[linux/fpc-iii.git] / arch / riscv / kernel / Makefile
blobf13f7f276639d504679034a36c53edc15f25dfe1
2 # Makefile for the RISC-V Linux kernel
5 ifdef CONFIG_FTRACE
6 CFLAGS_REMOVE_ftrace.o = -pg
7 CFLAGS_REMOVE_setup.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 += vdso.o
29 obj-y += cacheinfo.o
30 obj-y += vdso/
32 CFLAGS_setup.o := -mcmodel=medany
34 obj-$(CONFIG_FPU) += fpu.o
35 obj-$(CONFIG_SMP) += smpboot.o
36 obj-$(CONFIG_SMP) += smp.o
37 obj-$(CONFIG_MODULES) += module.o
38 obj-$(CONFIG_MODULE_SECTIONS) += module-sections.o
40 obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o
41 obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o
43 obj-$(CONFIG_PERF_EVENTS) += perf_event.o
45 clean: