mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 14:23:00 +00:00
16c220d0a7
The EFI stub can pass a table to U-Boot with information about the memory map Potentially other things will follow. Add a way to access this table. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
17 lines
455 B
Makefile
17 lines
455 B
Makefile
#
|
|
# (C) Copyright 2015 Google, Inc
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-$(CONFIG_EFI_APP) += efi_app.o efi.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
|
|
CFLAGS_REMOVE_efi.o := -mregparm=3 \
|
|
$(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
|
|
CFLAGS_efi.o := -fpic -fshort-wchar
|
|
|
|
extra-$(CONFIG_EFI_STUB) += efi_stub.o efi.o
|