summaryrefslogtreecommitdiffstats
path: root/lib/efi/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/efi/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/efi/Makefile')
-rw-r--r--lib/efi/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/efi/Makefile b/lib/efi/Makefile
new file mode 100644
index 0000000000..5ee344c7d6
--- /dev/null
+++ b/lib/efi/Makefile
@@ -0,0 +1,7 @@
+#
+# (C) Copyright 2015 Google, Inc
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+obj-$(CONFIG_EFI_APP) += efi_app.o efi.o
OpenPOWER on IntegriCloud