Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit bcf637f5 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 30cef68d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment