Move this check to the top, so it happens always. There is no harm to doing this earlier and it separates the setup from actual program logic.
Update the arg rather than adding a new variable, with the new variable only created when moving or building, since it is used more heavily. Signed-off-by: Simon Glass <[email protected]> --- tools/qconfig.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) Applied to u-boot-dm, thanks!

