diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bc2a190..d4a55ed7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Errors and warnings from KiAuto now are printed as errors and warnings. +- Schematic dependencies are sorted in the generated Makefiles ### Fixed - Problem when using E/DRC filters and the output dir didn't exist. diff --git a/kibot/kicad/v5_sch.py b/kibot/kicad/v5_sch.py index 7276c2d9..ed9f7f72 100644 --- a/kibot/kicad/v5_sch.py +++ b/kibot/kicad/v5_sch.py @@ -1474,7 +1474,7 @@ class Schematic(object): files = {self.fname} for sch in self.sheets: files.update(sch.sheet.get_files()) - return list(files) + return sorted(files) def get_components(self, exclude_power=True): """ A list of all the components. """