summaryrefslogtreecommitdiff
path: root/fw/btl/meson.build
blob: 37c8c2528e8c32d894e4e41290c2af0d4dcad7c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
external_project = import('unstable-external_project')

bootloader_project = external_project.add_project('configure.py',
  configure_options: [
    bootloader_firmware,
    meson.current_build_dir() / 'build',
    board,
    zephyr,
    ';'.join(zephyr_modules),
    meson.current_source_dir() / 'bootloader.conf',
    signing_key,
  ],
  verbose: true,
)

bootloader = custom_target('bootloader',
  output: ['bootloader.bin'],
  command: [
    meson.current_source_dir() / 'build.py',
    meson.current_build_dir() / 'build',
  ],
  build_by_default: true,
  install: true,
  install_dir: 'website/static',
)