From 7f7e9bb945331ce9f7802546251b188f284bc2f3 Mon Sep 17 00:00:00 2001 From: lottaviano Date: Tue, 12 Apr 2011 05:15:13 +0000 Subject: [PATCH] wizard: use a deterministic order for files in the Makefiles Signed-off-by: Nicolas Dandrimont git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4855 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/bertos_utils.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index 522e651e..feb5c987 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -273,15 +273,15 @@ def csrcGenerator(project_info): cxxsrc.append(file) for file in project_info.info("CPU_INFOS")["ASRC"]: asrc.append(file) - csrc = set(csrc) + csrc = sorted(set(csrc)) csrc = " \\\n\t".join(csrc) + " \\" - pcsrc = set(pcsrc) + pcsrc = sorted(set(pcsrc)) pcsrc = " \\\n\t".join(pcsrc) + " \\" - cppasrc = set(cppasrc) + cppasrc = sorted(set(cppasrc)) cppasrc = " \\\n\t".join(cppasrc) + " \\" - cxxsrc = set(cxxsrc) + cxxsrc = sorted(set(cxxsrc)) cxxsrc = " \\\n\t".join(cxxsrc) + " \\" - asrc = set(asrc) + asrc = sorted(set(asrc)) asrc = " \\\n\t".join(asrc) + " \\" constants = "\n".join([project_info.info("PROJECT_NAME") + "_" + key + " = " + unicode(value) for key, value in constants.items()]) return csrc, pcsrc, cppasrc, cxxsrc, asrc, constants -- 2.25.1