summaryrefslogtreecommitdiffstats
path: root/lib/efi_loader/Makefile
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-03-04 01:10:07 +0100
committerTom Rini <trini@konsulko.com>2016-03-15 21:30:11 -0400
commited980b8c62fbe17052ec6151a68b5b0be3809485 (patch)
tree15004a9cb6588552d759eff388ff430dd0302953 /lib/efi_loader/Makefile
parent649829157e9c034fd5eda0de87a39afa248bd4b2 (diff)
downloadtalos-obmc-uboot-ed980b8c62fbe17052ec6151a68b5b0be3809485.tar.gz
talos-obmc-uboot-ed980b8c62fbe17052ec6151a68b5b0be3809485.zip
efi_loader: hook up in build environment
Now that we have all the bits and pieces ready for EFI payload loading support, hook them up in Makefiles and KConfigs so that we can build. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org> [trini: Enable only when we of OF_LIBFDT, disable on kwb and colibri_pxa270] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'lib/efi_loader/Makefile')
-rw-r--r--lib/efi_loader/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/efi_loader/Makefile b/lib/efi_loader/Makefile
new file mode 100644
index 0000000000..28725a27c7
--- /dev/null
+++ b/lib/efi_loader/Makefile
@@ -0,0 +1,12 @@
+#
+# (C) Copyright 2016 Alexander Graf
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+# This file only gets included with CONFIG_EFI_LOADER set, so all
+# object inclusion implicitly depends on it
+
+obj-y += efi_image_loader.o efi_boottime.o efi_runtime.o efi_console.o
+obj-y += efi_memory.o
+obj-$(CONFIG_PARTITIONS) += efi_disk.o
OpenPOWER on IntegriCloud