summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-13 20:30:07 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-23 21:47:28 -0400
commit4390be305b235e647dd18c95c74d79a2a085d561 (patch)
tree19ea1b49d3f8322cfa9dd2296a3fa70faa56252b /src
parent9ac47f38151808712f1bdcae8e2eb42a0b53e5ca (diff)
meson: replace yes/no/auto with true/false/auto
This doesn't feel as natural, but is more consistent with the boolean options which require true/false, and allows setting of options without knowing of which type the option is.
Diffstat (limited to 'src')
-rw-r--r--src/boot/efi/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build
index 7e0c626f28..69c7405983 100644
--- a/src/boot/efi/meson.build
+++ b/src/boot/efi/meson.build
@@ -28,7 +28,7 @@ stub_sources = '''
stub.c
'''.split()
-if conf.get('ENABLE_EFI', 0) == 1 and get_option('gnu-efi') != 'no'
+if conf.get('ENABLE_EFI', 0) == 1 and get_option('gnu-efi') != 'false'
efi_cc = get_option('efi-cc')
efi_ld = get_option('efi-ld')
@@ -53,7 +53,7 @@ else
have_gnu_efi = false
endif
-if get_option('gnu-efi') == 'yes' and not have_gnu_efi
+if get_option('gnu-efi') == 'true' and not have_gnu_efi
error('gnu-efi support requested, but headers were not found')
endif