summaryrefslogtreecommitdiff
path: root/tools/moveconfig.py
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-07-25 10:15:23 (GMT)
committerTom Rini <trini@konsulko.com>2016-08-05 11:27:15 (GMT)
commitf7536f798d99e77b543c7913dc45edbb77848078 (patch)
tree3ea7693fc54097d4e82d78c4a20ab5d159941e03 /tools/moveconfig.py
parentdc6de50bd6873deccea3c27f407bad8f987383e7 (diff)
downloadu-boot-fsl-qoriq-f7536f798d99e77b543c7913dc45edbb77848078.tar.xz
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/moveconfig.py')
-rwxr-xr-xtools/moveconfig.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index fff44b2..1741e68 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: