aboutsummaryrefslogtreecommitdiff
path: root/demo/thirdparty/unlockoslo-alpha-3/build.ninja
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-04-02 06:43:53 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2019-04-02 06:43:53 +0200
commite47a988e624e75ab3c0bac32041668647ab2a0f1 (patch)
tree7aa56c0e7ce934c9c5ee479fcb6252112f37f8db /demo/thirdparty/unlockoslo-alpha-3/build.ninja
parentc8c3c9e922915b7eddc05973f6f938c6a0cbedaf (diff)
downloadee-python-e47a988e624e75ab3c0bac32041668647ab2a0f1.tar.gz
ee-python-e47a988e624e75ab3c0bac32041668647ab2a0f1.tar.bz2
ee-python-e47a988e624e75ab3c0bac32041668647ab2a0f1.tar.xz
ee-python-e47a988e624e75ab3c0bac32041668647ab2a0f1.zip
o Renaming create-order to create-bom.
Diffstat (limited to 'demo/thirdparty/unlockoslo-alpha-3/build.ninja')
-rw-r--r--demo/thirdparty/unlockoslo-alpha-3/build.ninja17
1 files changed, 12 insertions, 5 deletions
diff --git a/demo/thirdparty/unlockoslo-alpha-3/build.ninja b/demo/thirdparty/unlockoslo-alpha-3/build.ninja
index 9ed567f..7628941 100644
--- a/demo/thirdparty/unlockoslo-alpha-3/build.ninja
+++ b/demo/thirdparty/unlockoslo-alpha-3/build.ninja
@@ -37,9 +37,9 @@ rule element14-normalize-facts
description = element14-normalize-facts
command = $ee element14-normalize-facts --in $in --out $out
-rule create-order
- description = create-order
- command = $ee create-order --schematic $schematic --part-db $part_dbs --out $out $strategy
+rule create-bom
+ description = create-bom
+ command = $ee create-bom --schematic $schematic --part-db $part_dbs --out $out $strategy
rule import-parts-yaml
description = import-parts-yaml $in
@@ -62,12 +62,19 @@ build ee/digikey/normalized.xml: digikey-normalize-facts ee/digikey/downloaded.x
default ee/digikey/normalized.xml
-build ee/order.xml | $report_dir/order.rst: create-order ee/sch.xml ee/digikey/normalized.xml
+build ee/bom.xml | $report_dir/bom.rst: create-bom ee/sch.xml ee/digikey/normalized.xml
schematic = ee/sch.xml
part_dbs = ee/digikey/normalized.xml
-default ee/order.xml
+default ee/bom.xml
rule seeed-download-opl
description = seeed-download-opl $opl
command = $ee seeed-download-opl --out $out --opl $opl
+
+build seeed-download-opls: phony ee/seeed/opl/SEEED.xml ee/seeed/opl/HQCHIP.xml
+build ee/seeed/opl/SEEED.xml: seeed-download-opl
+ opl = SEEED
+
+build ee/seeed/opl/HQCHIP.xml: seeed-download-opl
+ opl = HQCHIP