summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kbuild
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@bootlin.com>2024-02-16 18:42:21 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2024-02-20 13:36:25 +0100
commit80f2e4cd2573c7d5c8ecc287fb09b15f8dcafae0 (patch)
treed899eb13461e903dfd9c29567095297322e63343 /arch/mips/Kbuild
parent263909a753d9fe070868a9b0890cb03fb402eaa1 (diff)
downloadlinux-stable-80f2e4cd2573c7d5c8ecc287fb09b15f8dcafae0.tar.gz
linux-stable-80f2e4cd2573c7d5c8ecc287fb09b15f8dcafae0.tar.bz2
linux-stable-80f2e4cd2573c7d5c8ecc287fb09b15f8dcafae0.zip
MIPS: Share generic kernel code with other architecture
Some architectures might seek to utilize a significant portion of the generic kernel code while maintaining independence from the generic kernel due to specific peculiarities. This patch allows for the reuse of core code, preventing unnecessary duplication. Suggested-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/Kbuild')
-rw-r--r--arch/mips/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/Kbuild b/arch/mips/Kbuild
index e2d623621a00..e901bf554483 100644
--- a/arch/mips/Kbuild
+++ b/arch/mips/Kbuild
@@ -11,6 +11,7 @@ obj- := $(platform-y)
# mips object files
# The object files are linked as core-y files would be linked
+obj-y += generic/
obj-y += kernel/
obj-y += mm/
obj-y += net/