@@ -1940,8 +1940,6 @@ doc/develop/moveconfig.rst for documentation.'''
help='build a CONFIG database')
parser.add_argument('-c', '--color', action='store_true', default=False,
help='display the log in color')
- parser.add_argument('-C', '--commit', action='store_true', default=False,
- help='Create a git commit for the operation')
parser.add_argument('-d', '--defconfigs', type=str,
help='a file containing a list of defconfigs to move, '
"one per line (for example 'snow_defconfig') "
@@ -2048,18 +2046,6 @@ doc/develop/moveconfig.rst for documentation.'''
cleanup_headers(configs, args)
cleanup_readme(configs, args)
- if args.commit:
- subprocess.call(['git', 'add', '-u'])
- if configs:
- msg = 'Convert %s %sto Kconfig' % (configs[0],
- 'et al ' if len(configs) > 1 else '')
- msg += ('\n\nThis converts the following to Kconfig:\n %s\n' %
- '\n '.join(configs))
- else:
- msg = 'configs: Resync with savedefconfig'
- msg += '\n\nRsync all defconfig files using moveconfig.py'
- subprocess.call(['git', 'commit', '-s', '-m', msg])
-
if args.build_db:
with open(CONFIG_DATABASE, 'w', encoding='utf-8') as fd:
for defconfig, configs in config_db.items():
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> --- tools/moveconfig.py | 14 -------------- 1 file changed, 14 deletions(-)