summaryrefslogtreecommitdiff
path: root/lib/efi_client/Makefile
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-07-26 09:21:09 -0600
committerTom Rini <trini@konsulko.com>2025-07-26 09:21:09 -0600
commit4c3b5fcd810081bd7f3c51859fe1b5f0c159803c (patch)
tree33e98ade70c760a0c90c63149d66a61b6ff95f20 /lib/efi_client/Makefile
parent1d782a3f229c269d01e5b7a94744bcd7f53e3f47 (diff)
parentafd5426043b3ef6aa57f2a731f94125ae983395c (diff)
Merge tag 'efi-2025-10-rc1' of https://source.denx.de/u-boot/custodians/u-boot-efiHEADmaster
Pull request efi-2025-10-rc1 CI: https://source.denx.de/u-boot/custodians/u-boot-efi/-/pipelines/27176 Documentation: * update FIT signature testing instructions * describe defconfigs for AM69-SK UEFI: * provide unit test for system table pointer * efi_realloc() must check efi_alloc() return value * correct EFI_DEBUG_TABLE_ENTRY_SIZE * avoid NULL dereference in ESRT creation tests * add missing check in FMP.GetImageInfo() * rename lib/efi to lib/efi_client * rename CONFIG_EFI to CONFIG_EFI_CLIENT * create a new CONFIG_EFI * update maintainers for EFI_CLIENT
Diffstat (limited to 'lib/efi_client/Makefile')
-rw-r--r--lib/efi_client/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/efi_client/Makefile b/lib/efi_client/Makefile
new file mode 100644
index 00000000000..232fa684360
--- /dev/null
+++ b/lib/efi_client/Makefile
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# (C) Copyright 2015 Google, Inc
+
+obj-$(CONFIG_EFI_APP) += efi_app.o efi.o efi_app_init.o
+obj-$(CONFIG_EFI_STUB) += efi_info.o
+
+CFLAGS_REMOVE_efi_stub.o := -mregparm=3 \
+ $(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
+CFLAGS_efi_stub.o := -fpic -fshort-wchar \
+ $(if $(CONFIG_EFI_STUB_64BIT),-m64)
+CFLAGS_REMOVE_efi.o := -mregparm=3 \
+ $(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
+CFLAGS_efi.o := -fpic -fshort-wchar \
+ $(if $(CONFIG_EFI_STUB_64BIT),-m64)
+
+extra-$(CONFIG_EFI_STUB) += efi_stub.o efi.o