diff mbox series

[2/2] meson: add missing config_bitbang_spi variable

Message ID 20201012025155.20508-2-rosenp@gmail.com
State New
Headers show
Series [1/2] meson: add missing need_raw_access | expand

Commit Message

Rosen Penev Oct. 12, 2020, 2:51 a.m. UTC
Fixes meson error:

meson.build:304:3: ERROR: Unknown variable "config_bitbang_spi".

Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 meson.build       | 1 +
 meson_options.txt | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meson.build b/meson.build
index a756c8e..24dd3ce 100644
--- a/meson.build
+++ b/meson.build
@@ -33,6 +33,7 @@  add_project_arguments('-DFLASHROM_VERSION="' + meson.project_version() + '"', la
 config_atahpt = get_option('config_atahpt')
 config_atapromise = get_option('config_atapromise')
 config_atavia = get_option('config_atavia')
+config_bitbang_spi = get_option('config_bitbang_spi')
 config_buspirate_spi = get_option('config_buspirate_spi')
 config_ch341a_spi = get_option('config_ch341a_spi')
 config_dediprog = get_option('config_dediprog')
diff --git a/meson_options.txt b/meson_options.txt
index ac48e4e..4571b10 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -4,6 +4,7 @@  option('usb', type : 'boolean', value : true, description : 'use libusb1')
 option('config_atahpt', type : 'boolean', value : false, description : 'Highpoint (HPT) ATA/RAID controllers')
 option('config_atapromise', type : 'boolean', value : false, description : 'Promise ATA controller')
 option('config_atavia', type : 'boolean', value : true, description : 'VIA VT6421A LPC memory')
+option('config_bitbang_spi', type : 'boolean', value : true, description : 'Bitbang')
 option('config_buspirate_spi', type : 'boolean', value : true, description : 'Bus Pirate SPI')
 option('config_ch341a_spi', type : 'boolean', value : true, description : 'Winchiphead CH341A')
 option('config_dediprog', type : 'boolean', value : true, description : 'Dediprog SF100')