summaryrefslogtreecommitdiff
path: root/scripts/Makefile.build
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-02-21 19:53:06 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2021-02-24 09:12:06 +0300
commitbcf637f54f6d2515d4c9c81808faf01848916152 (patch)
tree97121bb2cfbdad70e9eaea63441211231dd37509 /scripts/Makefile.build
parent30cef68d2d19e48c5832b126d3f4a7aeae5a64d6 (diff)
downloadlinux-bcf637f54f6d2515d4c9c81808faf01848916152.tar.xz
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>
Diffstat (limited to 'scripts/Makefile.build')
0 files changed, 0 insertions, 0 deletions