4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 18:53:31 +08:00

Support generation of kconfig configuration files compatible with C tools.

This commit is contained in:
weety 2018-09-05 09:48:01 +08:00
parent d344ff5a9e
commit ce54828eb0

View File

@ -1010,7 +1010,7 @@ class MenuConfig(object):
print('Saving config: \'{}\''.format(path)) print('Saving config: \'{}\''.format(path))
# Try to save config to selected path # Try to save config to selected path
try: try:
self.kconfig.write_config(path) self.kconfig.write_config(path, header="#\n# Automatically generated file; DO NOT EDIT.\n")
self.unsaved_changes = False self.unsaved_changes = False
self.config_path = path self.config_path = path
self.set_status_string('Saved config') self.set_status_string('Saved config')