xref: /openbmc/u-boot/lib/efi_loader/Makefile (revision c7ae3dfdccc171543804d6577ee41ab03e7a09bc)
1ed980b8cSAlexander Graf#
2ed980b8cSAlexander Graf# (C) Copyright 2016 Alexander Graf
3ed980b8cSAlexander Graf#
4ed980b8cSAlexander Graf#  SPDX-License-Identifier:     GPL-2.0+
5ed980b8cSAlexander Graf#
6ed980b8cSAlexander Graf
7ed980b8cSAlexander Graf# This file only gets included with CONFIG_EFI_LOADER set, so all
8ed980b8cSAlexander Graf# object inclusion implicitly depends on it
9ed980b8cSAlexander Graf
10*c7ae3dfdSSimon GlassCFLAGS_helloworld.o := $(CFLAGS_EFI)
11*c7ae3dfdSSimon GlassCFLAGS_REMOVE_helloworld.o := $(CFLAGS_NON_EFI)
12*c7ae3dfdSSimon Glass
13*c7ae3dfdSSimon Glassobj-$(CONFIG_CMD_BOOTEFI_HELLO) += helloworld_efi.o
14ed980b8cSAlexander Grafobj-y += efi_image_loader.o efi_boottime.o efi_runtime.o efi_console.o
15ed980b8cSAlexander Grafobj-y += efi_memory.o
16be8d3241SAlexander Grafobj-$(CONFIG_LCD) += efi_gop.o
17ed980b8cSAlexander Grafobj-$(CONFIG_PARTITIONS) += efi_disk.o
180efe1bcfSAlexander Grafobj-$(CONFIG_NET) += efi_net.o
19e663b350SAlexander Grafobj-$(CONFIG_GENERATE_SMBIOS_TABLE) += efi_smbios.o
20