summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-07-25 19:15:23 +0900
committerTom Rini <trini@konsulko.com>2016-08-05 07:27:15 -0400
commitf7536f798d99e77b543c7913dc45edbb77848078 (patch)
tree3ea7693fc54097d4e82d78c4a20ab5d159941e03 /tools
parentdc6de50bd6873deccea3c27f407bad8f987383e7 (diff)
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>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/moveconfig.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index fff44b229a..1741e689e7 100755
--- a/tools/moveconfig.py
+++ b/tools/moveconfig.py
@@ -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: