mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 01:41:39 +00:00
![Masahiro Yamada](/assets/img/avatar_default.png)
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 <masahiroy@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
14 lines
418 B
Makefile
14 lines
418 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
obj-$(CONFIG_FPE_NWFPE) += nwfpe/
|
|
# Put arch/arm/fastfpe/ to use this.
|
|
obj-$(CONFIG_FPE_FASTFPE) += $(patsubst $(srctree)/$(src)/%,%,$(wildcard $(srctree)/$(src)/fastfpe/))
|
|
obj-$(CONFIG_VFP) += vfp/
|
|
obj-$(CONFIG_XEN) += xen/
|
|
obj-$(CONFIG_VDSO) += vdso/
|
|
obj-y += kernel/ mm/ common/
|
|
obj-y += probes/
|
|
obj-y += net/
|
|
obj-y += crypto/
|
|
|
|
# for cleaning
|
|
subdir- += boot
|