# SPDX-License-Identifier: GPL-2.0-only # # Makefile for the RISC-V Linux kernel # ifdef [31mCONFIG_FTRACE[0m CFLAGS_REMOVE_ftrace.o = -pg endif extra-y += head.o extra-y += vmlinux.lds obj-y += cpu.o obj-y += cpufeature.o obj-y += entry.o obj-y += irq.o obj-y += process.o obj-y += ptrace.o obj-y += reset.o obj-y += setup.o obj-y += signal.o obj-y += syscall_table.o obj-y += sys_riscv.o obj-y += time.o obj-y += traps.o obj-y += riscv_ksyms.o obj-y += stacktrace.o obj-y += vdso.o obj-y += cacheinfo.o obj-y += vdso/ obj-$([31mCONFIG_FPU[0m) += fpu.o obj-$([31mCONFIG_SMP[0m) += smpboot.o obj-$([31mCONFIG_SMP[0m) += smp.o obj-$([31mCONFIG_MODULES[0m) += module.o obj-$([31mCONFIG_MODULE_SECTIONS[0m) += module-sections.o obj-$([31mCONFIG_FUNCTION_TRACER[0m) += mcount.o ftrace.o obj-$([31mCONFIG_DYNAMIC_FTRACE[0m) += mcount-dyn.o obj-$([31mCONFIG_PERF_EVENTS[0m) += perf_event.o obj-$([31mCONFIG_PERF_EVENTS[0m) += perf_callchain.o obj-$([31mCONFIG_HAVE_PERF_REGS[0m) += perf_regs.o clean: |