summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-07-31 09:31:36 -0600
committerSimon Glass <sjg@chromium.org>2015-08-05 08:42:41 -0600
commit867a6ac86dd823de409752e9ca5dc8f4d4880f26 (patch)
treed9b3bbaeae3cc0ade351850c0110fc6b92d5c808 /lib/Makefile
parent8f3b9694b217b7083fcbc44d7a28c16185c0c579 (diff)
downloadtalos-obmc-uboot-867a6ac86dd823de409752e9ca5dc8f4d4880f26.tar.gz
talos-obmc-uboot-867a6ac86dd823de409752e9ca5dc8f4d4880f26.zip
efi: Add start-up library code
When running as an EFI application, U-Boot must request memory from EFI, and provide access to the boot services U-Boot needs. Add library code to perform these tasks. This includes efi_main() which is the entry point from EFI. U-Boot is built as a shared library. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index fd106b91c8..db7d9806df 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -7,6 +7,7 @@
ifndef CONFIG_SPL_BUILD
+obj-$(CONFIG_EFI) += efi/
obj-$(CONFIG_RSA) += rsa/
obj-$(CONFIG_LZMA) += lzma/
obj-$(CONFIG_LZO) += lzo/
OpenPOWER on IntegriCloud