blob: fa8b91a526900eefb4302042f808a8a0f5ffa894 [file] [log] [blame]
Alexander Grafed980b82016-03-04 01:10:07 +01001#
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
Simon Glassc7ae3df2016-11-07 08:47:08 -070010CFLAGS_helloworld.o := $(CFLAGS_EFI)
11CFLAGS_REMOVE_helloworld.o := $(CFLAGS_NON_EFI)
12
Alexander Graf95b62b22016-11-17 22:40:10 +010013efiprogs-$(CONFIG_CMD_BOOTEFI_HELLO_COMPILE) += helloworld.efi
14always := $(efiprogs-y)
15
Simon Glassc7ae3df2016-11-07 08:47:08 -070016obj-$(CONFIG_CMD_BOOTEFI_HELLO) += helloworld_efi.o
Alexander Grafed980b82016-03-04 01:10:07 +010017obj-y += efi_image_loader.o efi_boottime.o efi_runtime.o efi_console.o
18obj-y += efi_memory.o
Alexander Grafbe8d3242016-03-15 18:38:21 +010019obj-$(CONFIG_LCD) += efi_gop.o
Alexander Grafed980b82016-03-04 01:10:07 +010020obj-$(CONFIG_PARTITIONS) += efi_disk.o
Alexander Graf0efe1bc2016-05-06 21:01:01 +020021obj-$(CONFIG_NET) += efi_net.o
Alexander Grafe663b352016-08-19 01:23:29 +020022obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += efi_smbios.o