CRIS: Restore mistakenly cleared kernel Makefile

"Linux Kernel Mailing List" <[email protected]>
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/6e0377212c4e45d7350cff018f6a95633937c031
Commit:     6e0377212c4e45d7350cff018f6a95633937c031
Parent:     e237f98a9c134c3d600353f21e07db915516875b
Refname:    refs/heads/master
Author:     Jesper Nilsson <[email protected]>
AuthorDate: Tue Feb 6 12:49:58 2018 +0100
Committer:  Jesper Nilsson <[email protected]>
CommitDate: Thu Feb 8 11:12:10 2018 +0100

    CRIS: Restore mistakenly cleared kernel Makefile
    
    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 <[email protected]>
    Fixes: 0fbc0b67a89d7
---
 arch/cris/kernel/Makefile | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/cris/kernel/Makefile b/arch/cris/kernel/Makefile
index e69de29bb2d1..f6bfee6c8c1b 100644
--- a/arch/cris/kernel/Makefile
+++ b/arch/cris/kernel/Makefile
@@ -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:
+
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.