boot: Use hypen in efi-config.h instead of underscore
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user