summaryrefslogtreecommitdiff
path: root/arch/nds32/mm
diff options
context:
space:
mode:
authorGreentime Hu <greentime@andestech.com>2017-10-25 10:03:49 +0300
committerGreentime Hu <greentime@andestech.com>2018-02-22 05:44:35 +0300
commite71ea3badae55a69a44b8fcb46ae7b547529b376 (patch)
tree21947a2e1b0852e6d26c2f2435c464aa3238a2cd /arch/nds32/mm
parenta06d4298d4d82f6a7ea6c67aa46dbdb873530320 (diff)
downloadlinux-e71ea3badae55a69a44b8fcb46ae7b547529b376.tar.xz
nds32: Build infrastructure
This patch adds Makefile, Kconfig and vmlinux.lds.S files required for building an nds32 kernel. Signed-off-by: Vincent Chen <vincentc@andestech.com> Signed-off-by: Greentime Hu <greentime@andestech.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/nds32/mm')
-rw-r--r--arch/nds32/mm/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/nds32/mm/Makefile b/arch/nds32/mm/Makefile
new file mode 100644
index 000000000000..6b6855852223
--- /dev/null
+++ b/arch/nds32/mm/Makefile
@@ -0,0 +1,7 @@
+obj-y := extable.o tlb.o \
+ fault.o init.o ioremap.o mmap.o \
+ mm-nds32.o cacheflush.o proc.o
+
+obj-$(CONFIG_ALIGNMENT_TRAP) += alignment.o
+obj-$(CONFIG_HIGHMEM) += highmem.o
+CFLAGS_proc-n13.o += -fomit-frame-pointer