summaryrefslogtreecommitdiff
path: root/artifacts
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-05-24 11:31:11 +0200
committerxengineering <me@xengineering.eu>2025-05-24 11:31:11 +0200
commita82bdbbec681cec0c6f5304318b6010f1752dbf6 (patch)
tree539d4610508c1bb3069c5f11ee63977e534b2a68 /artifacts
parentf38300b15627e5234f0f0a07c31c32135901dee7 (diff)
parentbf8d20fe4d8d3369dd7f63e95f53613dbbfa3603 (diff)
downloadiot-contact-a82bdbbec681cec0c6f5304318b6010f1752dbf6.tar
iot-contact-a82bdbbec681cec0c6f5304318b6010f1752dbf6.tar.zst
iot-contact-a82bdbbec681cec0c6f5304318b6010f1752dbf6.zip
Merge build system improvements
- remove flash targets (replaced by easy to flash `factory-image.bin`) - replaced installation step by copy targets - provide `factory-image.bin` and `update-image.bin`
Diffstat (limited to 'artifacts')
-rw-r--r--artifacts/meson.build22
1 files changed, 22 insertions, 0 deletions
diff --git a/artifacts/meson.build b/artifacts/meson.build
new file mode 100644
index 0000000..278c695
--- /dev/null
+++ b/artifacts/meson.build
@@ -0,0 +1,22 @@
+artifacts = [
+ index_html,
+ css,
+ schematic,
+ bom,
+ simulation,
+ update_image,
+ factory_image,
+]
+
+foreach artifact : artifacts
+ custom_target(
+ output: [fs.name(artifact.full_path())],
+ command: [
+ cp,
+ artifact.full_path(),
+ meson.current_build_dir(),
+ ],
+ depends: artifact,
+ build_by_default: true,
+ )
+endforeach