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 103bb74f98SAlexander GrafCFLAGS_helloworld.o := $(CFLAGS_EFI) -Os -ffreestanding 113bb74f98SAlexander GrafCFLAGS_REMOVE_helloworld.o := $(CFLAGS_NON_EFI) -Os 12c7ae3dfdSSimon Glass 13c96967e6SHeinrich Schuchardtifneq ($(CONFIG_CMD_BOOTEFI_HELLO_COMPILE),) 14c96967e6SHeinrich Schuchardtalways += helloworld.efi 15c96967e6SHeinrich 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 19b66c60ddSRob Clarkobj-y += efi_memory.o efi_device_path_to_text.o efi_device_path.o 20e70f8dfaSLeif Lindholmobj-y += efi_device_path_utilities.o efi_file.o efi_variable.o efi_bootmgr.o 21e70f8dfaSLeif Lindholmobj-y += efi_watchdog.o 22be8d3241SAlexander Grafobj-$(CONFIG_LCD) += efi_gop.o 23ca9193d2SRob Clarkobj-$(CONFIG_DM_VIDEO) += efi_gop.o 24ed980b8cSAlexander Grafobj-$(CONFIG_PARTITIONS) += efi_disk.o 25*092f2f35SJoe Hershbergerobj-$(CONFIG_NET) += efi_net.o 26e663b350SAlexander Grafobj-$(CONFIG_GENERATE_SMBIOS_TABLE) += efi_smbios.o 27