]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
boot: Use hypen in efi-config.h instead of underscore
authorDaanDeMeyer <daan.j.demeyer@gmail.com>
Sun, 13 Jul 2025 10:41:57 +0000 (12:41 +0200)
committerDaanDeMeyer <daan.j.demeyer@gmail.com>
Sun, 13 Jul 2025 10:41:57 +0000 (12:41 +0200)
src/boot/meson.build
src/test/test-sbat.c

index 4064bbe3b78836c69a279c867253a10795e62b22..68f1432d1dc93b6df22b476230721c4c5806883b 100644 (file)
@@ -147,7 +147,7 @@ if efi_conf.get('SBAT_DISTRO', '') != ''
 endif
 
 configure_file(
-        output : 'efi_config.h',
+        output : 'efi-config.h',
         configuration : efi_conf)
 
 ############################################################
@@ -163,7 +163,7 @@ efi_c_args = [
         '-ffreestanding',
         '-fno-strict-aliasing',
         '-fshort-wchar',
-        '-include', 'efi_config.h',
+        '-include', 'efi-config.h',
 ]
 
 efi_c_args += cc.get_supported_arguments(
index 47b31ba5d313210e5c1d2270dccdf0738d16991c..a085953c2828cfce087580343f7aacbd7a872893 100644 (file)
@@ -1,8 +1,8 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
-/* We include efi_config.h after undefining PROJECT_VERSION which is also defined in config.h. */
+/* We include efi-config.h after undefining PROJECT_VERSION which is also defined in config.h. */
 #undef PROJECT_VERSION
-#include "efi_config.h"
+#include "efi-config.h"
 #include "sbat.h"
 #include "tests.h"