MIPS: Introduce arch/mips/Kbuild
authorSam Ravnborg <sam@ravnborg.org>
Sun, 30 May 2010 11:27:22 +0000 (13:27 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 5 Aug 2010 12:25:44 +0000 (13:25 +0100)
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>
arch/mips/Kbuild [new file with mode: 0644]
arch/mips/Makefile

diff --git a/arch/mips/Kbuild b/arch/mips/Kbuild
new file mode 100644 (file)
index 0000000..a18eb5d
--- /dev/null
@@ -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/
index 0b9c01a..d39be47 100644 (file)
@@ -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/