xref: /openbmc/u-boot/lib/efi_loader/Makefile (revision 6c9a1003)
1#
2# (C) Copyright 2016 Alexander Graf
3#
4#  SPDX-License-Identifier:     GPL-2.0+
5#
6
7# This file only gets included with CONFIG_EFI_LOADER set, so all
8# object inclusion implicitly depends on it
9
10CFLAGS_helloworld.o := $(CFLAGS_EFI)
11CFLAGS_REMOVE_helloworld.o := $(CFLAGS_NON_EFI)
12
13efiprogs-$(CONFIG_CMD_BOOTEFI_HELLO_COMPILE) += helloworld.efi
14always := $(efiprogs-y)
15
16obj-$(CONFIG_CMD_BOOTEFI_HELLO) += helloworld_efi.o
17obj-y += efi_image_loader.o efi_boottime.o efi_runtime.o efi_console.o
18obj-y += efi_memory.o
19obj-$(CONFIG_LCD) += efi_gop.o
20obj-$(CONFIG_PARTITIONS) += efi_disk.o
21obj-$(CONFIG_NET) += efi_net.o
22obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += efi_smbios.o
23