aboutsummaryrefslogtreecommitdiff
path: root/demo/thirdparty/olinuxino/build.ninja
diff options
context:
space:
mode:
Diffstat (limited to 'demo/thirdparty/olinuxino/build.ninja')
-rw-r--r--demo/thirdparty/olinuxino/build.ninja21
1 files changed, 16 insertions, 5 deletions
diff --git a/demo/thirdparty/olinuxino/build.ninja b/demo/thirdparty/olinuxino/build.ninja
index 987ea82..f7ce4c4 100644
--- a/demo/thirdparty/olinuxino/build.ninja
+++ b/demo/thirdparty/olinuxino/build.ninja
@@ -41,9 +41,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
+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
@@ -67,8 +67,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