[U-Boot] [PATCH 20/25] efi_loader: Don't enable in SPL/TPL by default

Simon Glass sjg at chromium.org
Tue Nov 6 22:21:37 UTC 2018


Generally this functionality is not useful in SPL or TPL. Update the
Makefile so that it is not built.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 lib/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/Makefile b/lib/Makefile
index 4d2e22027d0..4dba3628e78 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -5,10 +5,10 @@
 
 ifndef CONFIG_SPL_BUILD
 
-obj-$(CONFIG_EFI) += efi/
-obj-$(CONFIG_EFI_LOADER) += efi_driver/
-obj-$(CONFIG_EFI_LOADER) += efi_loader/
-obj-$(CONFIG_EFI_LOADER) += efi_selftest/
+obj-$(CONFIG_$(SPL_TPL_)EFI) += efi/
+obj-$(CONFIG_$(SPL_TPL_)EFI_LOADER) += efi_driver/
+obj-$(CONFIG_$(SPL_TPL_)EFI_LOADER) += efi_loader/
+obj-$(CONFIG_$(SPL_TPL_)EFI_LOADER) += efi_selftest/
 obj-$(CONFIG_LZMA) += lzma/
 obj-$(CONFIG_BZIP2) += bzip2/
 obj-$(CONFIG_TIZEN) += tizen/
-- 
2.19.1.930.g4563a0d9d0-goog



More information about the U-Boot mailing list