tools: moveconfig: do not check clean tree and compilers for -H option

The clean tree (make mrproper) and compilers are required when moving
config options, but not needed when we only cleanup headers.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Masahiro Yamada 2016-07-25 19:15:23 +09:00 committed by Tom Rini
parent dc6de50bd6
commit f7536f798d

View File

@ -1042,11 +1042,9 @@ def main():
check_top_directory()
check_clean_directory()
update_cross_compile(options.color)
if not options.cleanup_headers_only:
check_clean_directory()
update_cross_compile(options.color)
move_config(configs, options)
if configs: