1# SPDX-License-Identifier: GPL-2.0+ 2# 3# (C) Copyright 2016 Alexander Graf 4# 5 6# This file only gets included with CONFIG_EFI_LOADER set, so all 7# object inclusion implicitly depends on it 8 9CFLAGS_helloworld.o := $(CFLAGS_EFI) -Os -ffreestanding 10CFLAGS_REMOVE_helloworld.o := $(CFLAGS_NON_EFI) -Os 11 12ifneq ($(CONFIG_CMD_BOOTEFI_HELLO_COMPILE),) 13always += helloworld.efi 14endif 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 efi_device_path_to_text.o efi_device_path.o 19obj-y += efi_device_path_utilities.o efi_file.o efi_variable.o efi_bootmgr.o 20obj-y += efi_watchdog.o 21obj-$(CONFIG_LCD) += efi_gop.o 22obj-$(CONFIG_DM_VIDEO) += efi_gop.o 23obj-$(CONFIG_PARTITIONS) += efi_disk.o 24obj-$(CONFIG_NET) += efi_net.o 25obj-$(CONFIG_GENERATE_ACPI_TABLE) += efi_acpi.o 26obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += efi_smbios.o 27