aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-02-28 08:13:30 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2019-02-28 08:13:30 +0100
commit002aa1d05d09ddb6a7e116ff9b0f7fed33f4552d (patch)
tree064451c4689276c59a1f3655381cd6ba1be21cbe /src
parentd484f83e45a30ebbda746793954245655eb3d987 (diff)
downloadee-python-002aa1d05d09ddb6a7e116ff9b0f7fed33f4552d.tar.gz
ee-python-002aa1d05d09ddb6a7e116ff9b0f7fed33f4552d.tar.bz2
ee-python-002aa1d05d09ddb6a7e116ff9b0f7fed33f4552d.tar.xz
ee-python-002aa1d05d09ddb6a7e116ff9b0f7fed33f4552d.zip
o Sort SCH_FILES.
Diffstat (limited to 'src')
-rw-r--r--src/ee/tools/kicad_mkdeps.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ee/tools/kicad_mkdeps.py b/src/ee/tools/kicad_mkdeps.py
index 3094232..0973416 100644
--- a/src/ee/tools/kicad_mkdeps.py
+++ b/src/ee/tools/kicad_mkdeps.py
@@ -1,4 +1,3 @@
-from __future__ import print_function
import sys
import argparse
import ee.kicad as kicad
@@ -21,8 +20,8 @@ def work(args):
p("endif")
p("")
p("SCH_FILES =")
- for s in sch.schematics:
- p("SCH_FILES += {}".format(s.path))
+ for path in sorted([s.path for s in sch.schematics]):
+ p("SCH_FILES += {}".format(path))
if args.pcb:
if args.gerber: