summaryrefslogtreecommitdiff
path: root/arch/riscv/kernel/Makefile
blob: ab8baf7bd14202d48ba49f5e0ee9fbeaaaa727a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# Makefile for the RISC-V Linux kernel
#

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/

CFLAGS_setup.o := -mcmodel=medany

obj-$(CONFIG_SMP)		+= smpboot.o
obj-$(CONFIG_SMP)		+= smp.o
obj-$(CONFIG_MODULES)		+= module.o

clean: