This should minimize the diff in the project file when
enabling/disabling a module in a BeRTOS project stored inside a VCS.
Signed-off-by: Nicolas Dandrimont <Nicolas.Dandrimont@crans.org>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4856
38d2e660-2303-0410-9eaa-
f027e97ec537
for module, information in project_info.info("MODULES").items():
if information["enabled"]:
enabled_modules.append(module)
- project_data["ENABLED_MODULES"] = enabled_modules
+ project_data["ENABLED_MODULES"] = sorted(enabled_modules)
if project_info.info("PRESET"):
# For presets save again the BERTOS_PATH into project file
project_data["PRESET"] = True