Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment