mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 09:22:27 +00:00
Documentation/kbuild/makefiles.rst suggests to use "archclean" for
cleaning arch/$(SRCARCH)/boot/, but it is not a hard requirement.
Since commit d92cc4d516 ("kbuild: require all architectures to have
arch/$(SRCARCH)/Kbuild"), we can use the "subdir- += boot" trick for
all architectures. This can take advantage of the parallel option (-j)
for "make clean".
I also cleaned up the comments in arch/$(SRCARCH)/Makefile. The "archdep"
target no longer exists.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]>
Acked-by: Michael Ellerman <[email protected]> (powerpc)
14 lines
332 B
Makefile
14 lines
332 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-y += kernel/
|
|
obj-y += mm/
|
|
obj-$(CONFIG_KVM) += kvm/
|
|
obj-y += crypto/
|
|
obj-$(CONFIG_S390_HYPFS_FS) += hypfs/
|
|
obj-$(CONFIG_APPLDATA_BASE) += appldata/
|
|
obj-y += net/
|
|
obj-$(CONFIG_PCI) += pci/
|
|
obj-$(CONFIG_ARCH_HAS_KEXEC_PURGATORY) += purgatory/
|
|
|
|
# for cleaning
|
|
subdir- += boot tools
|