summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2010-05-30 13:27:22 +0200
committerRalf Baechle <ralf@linux-mips.org>2010-08-05 13:25:44 +0100
commit9aeb404b4cfed41fdfd01e6fb3cc995c327ba98e (patch)
tree093d1a06d9161e36f5856f6d1b0cc82675eda339 /arch
parent78e6f4c03d51e4004866918a1482d48624e38d67 (diff)
downloadlinux-9aeb404b4cfed41fdfd01e6fb3cc995c327ba98e.tar.gz
linux-9aeb404b4cfed41fdfd01e6fb3cc995c327ba98e.tar.bz2
linux-9aeb404b4cfed41fdfd01e6fb3cc995c327ba98e.zip
MIPS: Introduce arch/mips/Kbuild
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> To: linux-mips <linux-mips@linux-mips.org> To: Wu Zhangjin <wuzhangjin@gmail.com> Patchwork: https://patchwork.linux-mips.org/patch/1300/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/Kbuild6
-rw-r--r--arch/mips/Makefile3
2 files changed, 8 insertions, 1 deletions
diff --git a/arch/mips/Kbuild b/arch/mips/Kbuild
new file mode 100644
index 000000000000..a18eb5d4d40e
--- /dev/null
+++ b/arch/mips/Kbuild
@@ -0,0 +1,6 @@
+# mips object files
+# The object files are linked as core-y files would be linked
+
+obj-y += kernel/
+obj-y += mm/
+obj-y += math-emu/
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 0b9c01add0a0..d39be4708289 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -706,7 +706,8 @@ head-y := arch/mips/kernel/head.o arch/mips/kernel/init_task.o
libs-y += arch/mips/lib/
-core-y += arch/mips/kernel/ arch/mips/mm/ arch/mips/math-emu/
+# See arch/mips/Kbuild for content of core part of the kernel
+core-y += arch/mips/
drivers-$(CONFIG_OPROFILE) += arch/mips/oprofile/