From 9aeb404b4cfed41fdfd01e6fb3cc995c327ba98e Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Sun, 30 May 2010 13:27:22 +0200 Subject: MIPS: Introduce arch/mips/Kbuild Signed-off-by: Sam Ravnborg To: linux-mips To: Wu Zhangjin Patchwork: https://patchwork.linux-mips.org/patch/1300/ Signed-off-by: Ralf Baechle --- arch/mips/Kbuild | 6 ++++++ arch/mips/Makefile | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 arch/mips/Kbuild (limited to 'arch/mips') diff --git a/arch/mips/Kbuild b/arch/mips/Kbuild new file mode 100644 index 00000000000..a18eb5d4d40 --- /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 0b9c01add0a..d39be470828 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/ -- cgit v1.2.3-18-g5258