1f739fcd8STom Rini# SPDX-License-Identifier: GPL-2.0+ 2ed980b8cSAlexander Graf# 3ed980b8cSAlexander Graf# (C) Copyright 2016 Alexander Graf 4ed980b8cSAlexander Graf# 5ed980b8cSAlexander Graf 6ed980b8cSAlexander Graf# This file only gets included with CONFIG_EFI_LOADER set, so all 7ed980b8cSAlexander Graf# object inclusion implicitly depends on it 8ed980b8cSAlexander Graf 93bb74f98SAlexander GrafCFLAGS_helloworld.o := $(CFLAGS_EFI) -Os -ffreestanding 103bb74f98SAlexander GrafCFLAGS_REMOVE_helloworld.o := $(CFLAGS_NON_EFI) -Os 11c7ae3dfdSSimon Glass 12c96967e6SHeinrich Schuchardtifneq ($(CONFIG_CMD_BOOTEFI_HELLO_COMPILE),) 13c96967e6SHeinrich Schuchardtalways += helloworld.efi 14c96967e6SHeinrich Schuchardtendif 1595b62b2eSAlexander 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 18b66c60ddSRob Clarkobj-y += efi_memory.o efi_device_path_to_text.o efi_device_path.o 19e70f8dfaSLeif Lindholmobj-y += efi_device_path_utilities.o efi_file.o efi_variable.o efi_bootmgr.o 20e70f8dfaSLeif Lindholmobj-y += efi_watchdog.o 21be8d3241SAlexander Grafobj-$(CONFIG_LCD) += efi_gop.o 22ca9193d2SRob Clarkobj-$(CONFIG_DM_VIDEO) += efi_gop.o 23ed980b8cSAlexander Grafobj-$(CONFIG_PARTITIONS) += efi_disk.o 24092f2f35SJoe Hershbergerobj-$(CONFIG_NET) += efi_net.o 25*86df34d4SBin Mengobj-$(CONFIG_GENERATE_ACPI_TABLE) += efi_acpi.o 26e663b350SAlexander Grafobj-$(CONFIG_GENERATE_SMBIOS_TABLE) += efi_smbios.o 27