1# 2# Makefile for the RISC-V Linux kernel 3# 4 5ifdef CONFIG_FTRACE 6CFLAGS_REMOVE_ftrace.o = -pg 7endif 8 9extra-y += head.o 10extra-y += vmlinux.lds 11 12obj-y += cpu.o 13obj-y += cpufeature.o 14obj-y += entry.o 15obj-y += irq.o 16obj-y += process.o 17obj-y += ptrace.o 18obj-y += reset.o 19obj-y += setup.o 20obj-y += signal.o 21obj-y += syscall_table.o 22obj-y += sys_riscv.o 23obj-y += time.o 24obj-y += traps.o 25obj-y += riscv_ksyms.o 26obj-y += stacktrace.o 27obj-y += vdso.o 28obj-y += cacheinfo.o 29obj-y += vdso/ 30 31obj-$(CONFIG_FPU) += fpu.o 32obj-$(CONFIG_SMP) += smpboot.o 33obj-$(CONFIG_SMP) += smp.o 34obj-$(CONFIG_MODULES) += module.o 35obj-$(CONFIG_MODULE_SECTIONS) += module-sections.o 36 37obj-$(CONFIG_FUNCTION_TRACER) += mcount.o ftrace.o 38obj-$(CONFIG_DYNAMIC_FTRACE) += mcount-dyn.o 39 40obj-$(CONFIG_PERF_EVENTS) += perf_event.o 41 42clean: 43