80f2e4cd25
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>
26 lines
484 B
Makefile
26 lines
484 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# platform specific definitions
|
|
include $(srctree)/arch/mips/Kbuild.platforms
|
|
obj-y := $(platform-y)
|
|
|
|
# make clean traverses $(obj-) without having included .config, so
|
|
# everything ends up here
|
|
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/
|
|
obj-y += vdso/
|
|
|
|
ifdef CONFIG_KVM
|
|
obj-y += kvm/
|
|
endif
|
|
|
|
# for cleaning
|
|
subdir- += boot
|