]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson.build
meson: use 0|1 for SD_BOOT 26003/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 10 Jan 2023 13:25:57 +0000 (14:25 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 10 Jan 2023 13:25:57 +0000 (14:25 +0100)
commit493cd5034c3eb091e7163ea1e744a4e07b410710
tree1c4630f8a188f79c01b8ce6546f162189ee5fd14
parent5deb391c6e6d2b8fd7b94234efea49cd6bee0d76
meson: use 0|1 for SD_BOOT

We converted to not using #ifdef for most of our defines because the syntax is
nicer and we are protected against typos and can set -Werror=undef. Let's do
the same for SD_BOOT. The define is nicely hidden in build.h for normal builds,
and for EFI builds we were already setting SD_BOOT on the commandline.
meson.build
src/boot/efi/efi-string.c
src/boot/efi/efi-string.h
src/boot/efi/meson.build
src/fundamental/macro-fundamental.h
src/fundamental/memory-util-fundamental.h
src/fundamental/sha256.c
src/fundamental/string-util-fundamental.c
src/fundamental/string-util-fundamental.h