xref: /openbmc/u-boot/lib/efi_loader/Makefile (revision 95b62b2e28dbc3419f49eeae2e4fdccc862fccea)
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
10c7ae3dfdSSimon GlassCFLAGS_helloworld.o := $(CFLAGS_EFI)
11c7ae3dfdSSimon GlassCFLAGS_REMOVE_helloworld.o := $(CFLAGS_NON_EFI)
12c7ae3dfdSSimon Glass
13*95b62b2eSAlexander Grafefiprogs-$(CONFIG_CMD_BOOTEFI_HELLO_COMPILE) += helloworld.efi
14*95b62b2eSAlexander Grafalways := $(efiprogs-y)
15*95b62b2eSAlexander Graf
16c7ae3dfdSSimon Glassobj-$(CONFIG_CMD_BOOTEFI_HELLO) += helloworld_efi.o
17ed980b8cSAlexander Grafobj-y += efi_image_loader.o efi_boottime.o efi_runtime.o efi_console.o
18ed980b8cSAlexander Grafobj-y += efi_memory.o
19be8d3241SAlexander Grafobj-$(CONFIG_LCD) += efi_gop.o
20ed980b8cSAlexander Grafobj-$(CONFIG_PARTITIONS) += efi_disk.o
210efe1bcfSAlexander Grafobj-$(CONFIG_NET) += efi_net.o
22e663b350SAlexander Grafobj-$(CONFIG_GENERATE_SMBIOS_TABLE) += efi_smbios.o
23