diff options
author | Thomas Heijligen <thomas.heijligen@secunet.com> | 2022-08-13 12:42:05 +0200 |
---|---|---|
committer | Thomas Heijligen <src@posteo.de> | 2022-09-12 07:13:04 +0000 |
commit | c696220f97ebc9a72adcb2b56e70ba706a7d88f3 (patch) | |
tree | 1c40732a61a64d9d40ed02b4d03ca27a5345fa5f /meson_options.txt | |
parent | c8b23a0902790d0cf1420a2c4a090b9fa8810c30 (diff) | |
download | flashrom-c696220f97ebc9a72adcb2b56e70ba706a7d88f3.tar.gz flashrom-c696220f97ebc9a72adcb2b56e70ba706a7d88f3.tar.bz2 flashrom-c696220f97ebc9a72adcb2b56e70ba706a7d88f3.zip |
meson: Build the classic cli / flashrom cli executable as feature
Provide the meson option `-Dclassic_cli=auto/enabled/disabled` to
determine if the classic cli flashrom executable should be built. This
is needed to support targets, like libpayload, which can only build
libflashrom.
Change-Id: If39981ad0b3281edd6fc7e220362d2938dddf814
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66705
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 284bfba9a..850505d4b 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,5 +1,6 @@ option('pciutils', type : 'boolean', value : true, description : 'use pciutils') option('usb', type : 'boolean', value : true, description : 'use libusb1') +option('classic_cli', type : 'feature', value : 'enabled', description : 'classic flashrom cli binary') option('print_wiki', type : 'boolean', value : true, description : 'Print Wiki') option('default_programmer_name', type : 'string', description : 'default programmer') option('default_programmer_args', type : 'string', description : 'default programmer arguments') |