From: Heinrich Schuchardt Date: Wed, 8 May 2019 19:42:36 +0000 (+0200) Subject: efi_loader: observe CONFIG_EFI_LOADER_HII X-Git-Tag: v2019.07-rc2~3^2~16 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5ad3877448a4035bdea4a5de7eb8b8deb8dc068d;p=oweals%2Fu-boot.git efi_loader: observe CONFIG_EFI_LOADER_HII If EFI_LOADER_HII is not set, do not unnecessarily compile files for HII protocols. Signed-off-by: Heinrich Schuchardt --- diff --git a/lib/efi_loader/Makefile b/lib/efi_loader/Makefile index 4e90a35896..e6bbe43154 100644 --- a/lib/efi_loader/Makefile +++ b/lib/efi_loader/Makefile @@ -24,7 +24,7 @@ obj-y += efi_device_path.o obj-y += efi_device_path_to_text.o obj-y += efi_device_path_utilities.o obj-y += efi_file.o -obj-y += efi_hii.o efi_hii_config.o +obj-$(CONFIG_EFI_LOADER_HII) += efi_hii.o efi_hii_config.o obj-y += efi_image_loader.o obj-y += efi_memory.o obj-y += efi_root_node.o