summaryrefslogtreecommitdiff
path: root/fw/btl/meson.build
blob: ed40cd30846c16e9e3c782090f8da9dafe40462e (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
26
external_project = import('unstable-external_project')

bootloader_project = external_project.add_project(
  configure_zephyr,
  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: [
    build_zephyr,
    meson.current_build_dir() / 'build',
  ],
  build_by_default: true,
  install: true,
  install_dir: 'website/static',
)