summaryrefslogtreecommitdiffstats
path: root/arch/nios2/kernel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nios2/kernel/Makefile')
-rw-r--r--arch/nios2/kernel/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/nios2/kernel/Makefile b/arch/nios2/kernel/Makefile
new file mode 100644
index 0000000000..78a913181f
--- /dev/null
+++ b/arch/nios2/kernel/Makefile
@@ -0,0 +1,26 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Makefile for the nios2 linux kernel.
+#
+
+extra-y += vmlinux.lds
+
+obj-y += head.o
+obj-y += cpuinfo.o
+obj-y += entry.o
+obj-y += insnemu.o
+obj-y += irq.o
+obj-y += nios2_ksyms.o
+obj-y += process.o
+obj-y += prom.o
+obj-y += ptrace.o
+obj-y += setup.o
+obj-y += signal.o
+obj-y += sys_nios2.o
+obj-y += syscall_table.o
+obj-y += time.o
+obj-y += traps.o
+
+obj-$(CONFIG_KGDB) += kgdb.o
+obj-$(CONFIG_MODULES) += module.o
+obj-$(CONFIG_NIOS2_ALIGNMENT_TRAP) += misaligned.o