mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-23 02:12:08 +01:00
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>
18 lines
544 B
Makefile
18 lines
544 B
Makefile
# 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
|