diff options
| author | xengineering <me@xengineering.eu> | 2025-05-07 19:52:37 +0200 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2025-05-07 19:58:14 +0200 |
| commit | 46b537fb86e029978d9a1f8aa5d07ec2949ea7a1 (patch) | |
| tree | 71ef55ce4a9862d57bdc401c739363fb9f99894b /pcb | |
| parent | a5aafcbd0398ae3893a83827cf66d4352eaee8f0 (diff) | |
| download | iot-contact-46b537fb86e029978d9a1f8aa5d07ec2949ea7a1.tar iot-contact-46b537fb86e029978d9a1f8aa5d07ec2949ea7a1.tar.zst iot-contact-46b537fb86e029978d9a1f8aa5d07ec2949ea7a1.zip | |
WIP: Remove installation step
TODO: Check if the bootloader install target is still usable.
Using the installation step to copy selected artifacts into on folder
was anyway a hack.
This commit shows that the complexity can be reduced by adding copy
targets. The `build/artifacts` folder contains the selected artifacts,
they are always up to date, the user does not have to call the install
step separately and the target definitions do not require
install-related keyword arguments.
Diffstat (limited to 'pcb')
| -rw-r--r-- | pcb/meson.build | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pcb/meson.build b/pcb/meson.build index f320aae..293b2a1 100644 --- a/pcb/meson.build +++ b/pcb/meson.build @@ -7,7 +7,7 @@ schematic_files = [ 'processor.kicad_sch', ] -schematic = custom_target('schematic', +schematic = custom_target( output: ['schematic.pdf'], command: [ 'kicad-cli', @@ -19,11 +19,9 @@ schematic = custom_target('schematic', ], depend_files: schematic_files, build_by_default: true, - install: true, - install_dir: '/', ) -bom = custom_target('bom', +bom = custom_target( output: ['bill-of-materials.csv'], command: [ 'kicad-cli', @@ -37,6 +35,4 @@ bom = custom_target('bom', ], depend_files: schematic_files, build_by_default: true, - install: true, - install_dir: '/', ) |
