efi: Rename the lib/efi directory

This directory was created when U-Boot gained the ability to run as an
EFI app in 2015. Since then the EFI-loader feature has been added.

The code in lib/efi is not actually used by the loader, so the name is
confusing.

Rename the directory to efi_client to indicate that it includes files
just for U-Boot being a client of EFI, i.e. the EFI app and stub.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-05-23 14:06:39 +01:00
parent fe719aa8e8
commit 5f4327ec9f
16 changed files with 9 additions and 9 deletions

View File

@@ -1687,8 +1687,8 @@ EFI_STUB_ARCH := $(if $(CONFIG_ARM64),arm64,$(if $(CONFIG_X86_64),x86,$(ARCH)))
quiet_cmd_u-boot_payload ?= LD $@
cmd_u-boot_payload ?= $(LD) $(LDFLAGS_EFI_PAYLOAD) -o $@ \
-T u-boot-payload.lds $(if $(CONFIG_X86),arch/x86/cpu/call32.o,) \
lib/efi/efi.o lib/efi/efi_stub_$(EFI_STUB_ARCH).o u-boot.bin.o \
$(addprefix arch/$(ARCH)/lib/,$(EFISTUB))
lib/efi_client/efi.o lib/efi_client/efi_stub_$(EFI_STUB_ARCH).o \
u-boot.bin.o $(addprefix arch/$(ARCH)/lib/,$(EFISTUB))
quiet_cmd_u-boot_payload_arm64.efi ?= OBJCOPY $@
cmd_u-boot_payload_arm64.efi ?= $(OBJCOPY) -O binary u-boot-payload $@