xref: /openbmc/linux/arch/nios2/kernel/Makefile (revision 6d99a79c)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the nios2 linux kernel.
4#
5
6extra-y	+= head.o
7extra-y	+= vmlinux.lds
8
9obj-y	+= cpuinfo.o
10obj-y	+= entry.o
11obj-y	+= insnemu.o
12obj-y	+= irq.o
13obj-y	+= nios2_ksyms.o
14obj-y	+= process.o
15obj-y	+= prom.o
16obj-y	+= ptrace.o
17obj-y	+= setup.o
18obj-y	+= signal.o
19obj-y	+= sys_nios2.o
20obj-y	+= syscall_table.o
21obj-y	+= time.o
22obj-y	+= traps.o
23
24obj-$(CONFIG_KGDB)			+= kgdb.o
25obj-$(CONFIG_MODULES)			+= module.o
26obj-$(CONFIG_NIOS2_ALIGNMENT_TRAP)	+= misaligned.o
27