mirror of
https://github.com/dgibson/dtc.git
synced 2025-10-13 16:27:39 -04:00
The new meson build system support diverges from former build system where the tests were not built until required. This has caused an issue in NixOS[1] due to broken build of tests in Darwin platform, so this patch allows the control if tests should be build or not. 1. https://github.com/NixOS/nixpkgs/pull/235210 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
14 lines
682 B
Meson
14 lines
682 B
Meson
option('tools', type: 'boolean', value: true,
|
|
description: 'Build tools')
|
|
option('assume-mask', type: 'integer', value: 0,
|
|
description: 'Control the assumptions made (e.g. risking security issues) in the code.')
|
|
option('yaml', type: 'feature', value: 'auto',
|
|
description: 'YAML support')
|
|
option('valgrind', type: 'feature', value: 'auto',
|
|
description: 'Valgrind support')
|
|
option('python', type: 'feature', value: 'auto',
|
|
description: 'Build pylibfdt Python library')
|
|
option('static-build', type: 'boolean', value: false,
|
|
description: 'Build static binaries')
|
|
option('tests', type: 'boolean', value: true,
|
|
description: 'Build tests')
|