summaryrefslogtreecommitdiffstats
path: root/arch/nios2/kernel/Makefile
diff options
context:
space:
mode:
authorLey Foon Tan <lftan@altera.com>2014-11-06 15:20:19 +0800
committerLey Foon Tan <lftan@altera.com>2014-12-08 12:56:06 +0800
commit2fc8483fdcde767795402a38a53e647811dc9abf (patch)
tree01c734b5191c6ddd5c095fb2a08494720b06f817 /arch/nios2/kernel/Makefile
parent9cce02ec7146248862ba63a41bf8eb32d9e4fb63 (diff)
downloadblackbird-op-linux-2fc8483fdcde767795402a38a53e647811dc9abf.tar.gz
blackbird-op-linux-2fc8483fdcde767795402a38a53e647811dc9abf.zip
nios2: Build infrastructure
This patch adds Makefile and Kconfig files required for building a nios2 kernel. Signed-off-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'arch/nios2/kernel/Makefile')
-rw-r--r--arch/nios2/kernel/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/nios2/kernel/Makefile b/arch/nios2/kernel/Makefile
new file mode 100644
index 000000000000..8ae76823ff93
--- /dev/null
+++ b/arch/nios2/kernel/Makefile
@@ -0,0 +1,24 @@
+#
+# Makefile for the nios2 linux kernel.
+#
+
+extra-y += head.o
+extra-y += vmlinux.lds
+
+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_MODULES) += module.o
+obj-$(CONFIG_NIOS2_ALIGNMENT_TRAP) += misaligned.o
OpenPOWER on IntegriCloud