Re: [PATCH 2/2] tools: do not include scripts/Kbuild.include

From: Paolo Bonzini
Date: Thu Apr 15 2021 - 04:25:21 EST


On 15/04/21 10:04, Masahiro Yamada wrote:
On Thu, Apr 15, 2021 at 4:40 PM Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote:
I think it would make sense to add try-run, cc-option and
.DELETE_ON_ERROR to tools/build/Build.include?

To be safe, I just copy-pasted what the makefiles need.
If someone wants to refactor the tool build system, that is fine,
but, to me, I do not see consistent rules or policy under tools/.

"Please put this in a common file instead of introducing duplication" is not asking for wholesale refactoring.

Paolo