Skip to content

Commit 9aeb404

Browse files
sravnborgralfbaechle
authored andcommitted
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>
1 parent 78e6f4c commit 9aeb404

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

‎arch/mips/Kbuild‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# mips object files
2+
# The object files are linked as core-y files would be linked
3+
4+
obj-y += kernel/
5+
obj-y += mm/
6+
obj-y += math-emu/

‎arch/mips/Makefile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,8 @@ head-y := arch/mips/kernel/head.o arch/mips/kernel/init_task.o
706706

707707
libs-y += arch/mips/lib/
708708

709-
core-y += arch/mips/kernel/ arch/mips/mm/ arch/mips/math-emu/
709+
# See arch/mips/Kbuild for content of core part of the kernel
710+
core-y += arch/mips/
710711

711712
drivers-$(CONFIG_OPROFILE) += arch/mips/oprofile/
712713

0 commit comments

Comments
 (0)