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')
external_project.add_project(
configure_zephyr,
configure_options: [
'--source-tree', meson.current_source_dir(),
'--build-tree', meson.current_build_dir() / 'build',
'--board', board,
'--zephyr-base', zephyr,
'--zephyr-modules', ';'.join(zephyr_modules),
],
verbose: true,
)
application = custom_target('application',
output: ['application.bin'],
command: [
build_zephyr,
'--build-tree', meson.current_build_dir() / 'build',
'--target-name', 'application.bin',
],
build_by_default: true,
install: true,
install_dir: 'website/static',
)
|