浏览代码

Support generation of kconfig configuration files compatible with C tools.

weety 6 年之前
父节点
当前提交
ce54828eb0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/pymenuconfig.py

+ 1 - 1
tools/pymenuconfig.py

@@ -1010,7 +1010,7 @@ class MenuConfig(object):
         print('Saving config: \'{}\''.format(path))
         # Try to save config to selected path
         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.config_path = path
             self.set_status_string('Saved config')