diff mbox series

[v3,01/27] moveconfig: Drop -H option

Message ID 20230923194424.1739224-2-sjg@chromium.org
State Accepted
Commit 63df202ad88fdd36deb8cd55eabe72db110962cb
Delegated to: Simon Glass
Headers show
Series moveconfig: Drop old code and tidy up | expand

Commit Message

Simon Glass Sept. 23, 2023, 7:43 p.m. UTC
Drop this option, which is no longer needed now that we have converted
all CONFIG options to Kconfig.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

(no changes since v1)

 tools/moveconfig.py | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

Comments

Simon Glass Oct. 4, 2023, 5:58 p.m. UTC | #1
Drop this option, which is no longer needed now that we have converted
all CONFIG options to Kconfig.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

(no changes since v1)

 tools/moveconfig.py | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

Applied to u-boot-dm, thanks!
diff mbox series

Patch

diff --git a/tools/moveconfig.py b/tools/moveconfig.py
index 6cbecc3d5c80..880a5594be05 100755
--- a/tools/moveconfig.py
+++ b/tools/moveconfig.py
@@ -1951,9 +1951,6 @@  doc/develop/moveconfig.rst for documentation.'''
                       help='exit immediately on any error')
     parser.add_argument('-f', '--find', action='store_true', default=False,
                       help='Find boards with a given config combination')
-    parser.add_argument('-H', '--headers-only', dest='cleanup_headers_only',
-                      action='store_true', default=False,
-                      help='only cleanup the headers')
     parser.add_argument('-i', '--imply', action='store_true', default=False,
                       help='find options which imply others')
     parser.add_argument('-I', '--imply-flags', type=str, default='',
@@ -2035,14 +2032,13 @@  doc/develop/moveconfig.rst for documentation.'''
     t.setDaemon(True)
     t.start()
 
-    if not args.cleanup_headers_only:
-        check_clean_directory()
-        bsettings.setup('')
-        toolchains = toolchain.Toolchains()
-        toolchains.GetSettings()
-        toolchains.Scan(verbose=False)
-        move_config(toolchains, configs, args, db_queue)
-        db_queue.join()
+    check_clean_directory()
+    bsettings.setup('')
+    toolchains = toolchain.Toolchains()
+    toolchains.GetSettings()
+    toolchains.Scan(verbose=False)
+    move_config(toolchains, configs, args, db_queue)
+    db_queue.join()
 
     if configs:
         cleanup_headers(configs, args)