mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 15:12:36 +02:00
meson: Add print_wiki option
Align meson options to be equivalent to the Makefile as they are used in Gentoo's ebuilds. Signed-off-by: Daniel Campello <campello@chromium.org> Change-Id: I97d2fd687aa21533b86f9af446038bfe3da1f7d3 Reviewed-on: https://review.coreboot.org/c/flashrom/+/51552 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
This commit is contained in:
parent
8d6ef739b1
commit
0e5ae9577e
@ -68,6 +68,7 @@ config_usbblaster_spi = get_option('config_usbblaster_spi')
|
||||
config_stlinkv3_spi = get_option('config_stlinkv3_spi')
|
||||
config_lspcon_i2c_spi = get_option('config_lspcon_i2c_spi')
|
||||
config_realtek_mst_i2c_spi = get_option('config_realtek_mst_i2c_spi')
|
||||
config_print_wiki= get_option('print_wiki')
|
||||
|
||||
cargs = []
|
||||
deps = []
|
||||
@ -429,6 +430,11 @@ flashrom_dep = declare_dependency(
|
||||
dependencies : deps
|
||||
)
|
||||
|
||||
if config_print_wiki
|
||||
srcs += 'print_wiki.c'
|
||||
cargs += '-DCONFIG_PRINT_WIKI=1'
|
||||
endif
|
||||
|
||||
# we can't just link_with libflashrom as we require all the internal symbols...
|
||||
executable(
|
||||
'flashrom',
|
||||
|
@ -1,5 +1,6 @@
|
||||
option('pciutils', type : 'boolean', value : true, description : 'use pciutils')
|
||||
option('usb', type : 'boolean', value : true, description : 'use libusb1')
|
||||
option('print_wiki', type : 'boolean', value : true, description : 'Print Wiki')
|
||||
|
||||
option('config_atahpt', type : 'boolean', value : false, description : 'Highpoint (HPT) ATA/RAID controllers')
|
||||
option('config_atapromise', type : 'boolean', value : false, description : 'Promise ATA controller')
|
||||
|
Loading…
x
Reference in New Issue
Block a user