This website requires JavaScript.
Explore
Help
Register
Sign In
korg
/
linux
Watch
0
Star
0
Fork
0
You've already forked linux
mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced
2024-12-19 09:04:51 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
676bffa02e
linux
/
arch
/
nios2
/
Kbuild
5 lines
72 B
Plaintext
Raw
Normal View
History
Unescape
Escape
kbuild: require all architectures to have arch/$(SRCARCH)/Kbuild arch/$(SRCARCH)/Kbuild is useful for Makefile cleanups because you can use the obj-y syntax. Add an empty file if it is missing in arch/$(SRCARCH)/. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2021-05-12 15:57:25 +08:00
# SPDX-License-Identifier: GPL-2.0-only
kbuild: use more subdir- for visiting subdirectories while cleaning Documentation/kbuild/makefiles.rst suggests to use "archclean" for cleaning arch/$(SRCARCH)/boot/, but it is not a hard requirement. Since commit d92cc4d51643 ("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)
2021-10-13 14:36:22 +08:00
# for cleaning
subdir- += boot
Reference in New Issue
Copy Permalink