diff mbox

[U-Boot,v2,2/8] tools: moveconfig: do not check clean tree and compilers for -H option

Message ID 1469441729-5817-3-git-send-email-yamada.masahiro@socionext.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada July 25, 2016, 10:15 a.m. UTC
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>
---

Changes in v2: None

 tools/moveconfig.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Comments

Tom Rini July 25, 2016, 1:37 p.m. UTC | #1
On Mon, Jul 25, 2016 at 07:15:23PM +0900, Masahiro Yamada wrote:

> 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>
Tom Rini Aug. 6, 2016, 12:58 a.m. UTC | #2
On Mon, Jul 25, 2016 at 07:15:23PM +0900, Masahiro Yamada wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index b1190e2..05a581f 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: