xref: /openbmc/u-boot/lib/efi_loader/Makefile (revision c96967e6d7cd2fefbbc8cfcf9de6b5ad2eccb4e2)
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*c96967e6SHeinrich Schuchardtifneq ($(CONFIG_CMD_BOOTEFI_HELLO_COMPILE),)
14*c96967e6SHeinrich Schuchardtalways += helloworld.efi
15*c96967e6SHeinrich Schuchardtendif
1695b62b2eSAlexander Graf
17c7ae3dfdSSimon Glassobj-$(CONFIG_CMD_BOOTEFI_HELLO) += helloworld_efi.o
18ed980b8cSAlexander Grafobj-y += efi_image_loader.o efi_boottime.o efi_runtime.o efi_console.o
19cc5b7081Sxypron.glpk@gmx.deobj-y += efi_memory.o efi_device_path_to_text.o
20be8d3241SAlexander Grafobj-$(CONFIG_LCD) += efi_gop.o
21ca9193d2SRob Clarkobj-$(CONFIG_DM_VIDEO) += efi_gop.o
22ed980b8cSAlexander Grafobj-$(CONFIG_PARTITIONS) += efi_disk.o
230efe1bcfSAlexander Grafobj-$(CONFIG_NET) += efi_net.o
24e663b350SAlexander Grafobj-$(CONFIG_GENERATE_SMBIOS_TABLE) += efi_smbios.o
25