Check for scan_source as one of the possible operations for this tool, moving the check above the scan_source implementation. Signed-off-by: Simon Glass <sjg at chromium.org> --- tools/qconfig.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) Applied to u-boot-dm, thanks!