mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-15 19:56:03 +00:00
kbuild: parse C= and M= before changing the working directory
If Kbuild recurses to the top Makefile (for example, 'make deb-pkg'), C= and M= are parsed over again, needlessly. Parse them before changing the working directory. After that, sub_make_done is set to 1, so they are parsed just once. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
parent
30cef68d2d
commit
bcf637f54f
1 changed files with 31 additions and 30 deletions
61
Makefile
61
Makefile
Loading…
Add table
Add a link
Reference in a new issue