]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: observe CONFIG_EFI_LOADER_HII
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 8 May 2019 19:42:36 +0000 (21:42 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 12 May 2019 18:54:22 +0000 (20:54 +0200)
If EFI_LOADER_HII is not set, do not unnecessarily compile files for HII
protocols.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/Makefile

index 4e90a35896c66d5879b5ba10426c1cd2c25f3698..e6bbe431546efa1a06ebf306f74ea857f986b5e8 100644 (file)
@@ -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