]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
CRIS: Restore mistakenly cleared kernel Makefile
authorJesper Nilsson <jesper@jni.nu>
Tue, 6 Feb 2018 11:49:58 +0000 (12:49 +0100)
committerJesper Nilsson <jesper@jni.nu>
Thu, 8 Feb 2018 10:12:10 +0000 (11:12 +0100)
Commit 0fbc0b67a89d7 ("cris: remove arch specific early DT functions")
was a bit overzealous in removing the CRIS DT handling,
and the complete contents of the Makefile was erased
instead of just the line for the devicetree file.

This lead to a complete link failure for all SoCs in
the CRIS port due to missing symbols.

Restore the contents except the line for the devicetree file.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Fixes: 0fbc0b67a89d7
arch/cris/kernel/Makefile

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..f6bfee6c8c1bd65e97d336df0f86d39d3589c821 100644 (file)
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Makefile for the CRIS port.
+#
+
+CPPFLAGS_vmlinux.lds := -DDRAM_VIRTUAL_BASE=0x$(CONFIG_ETRAX_DRAM_VIRTUAL_BASE)
+extra-y := vmlinux.lds
+
+obj-y := process.o traps.o irq.o ptrace.o setup.o time.o sys_cris.o
+obj-y += stacktrace.o
+
+obj-$(CONFIG_MODULES)          += crisksyms.o
+obj-$(CONFIG_MODULES)          += module.o
+obj-$(CONFIG_SYSTEM_PROFILER)  += profile.o
+
+clean:
+