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_efi_boottime.o += \ 10 -DFW_VERSION="0x$(VERSION)" \ 11 -DFW_PATCHLEVEL="0x$(PATCHLEVEL)" 12CFLAGS_helloworld.o := $(CFLAGS_EFI) -Os -ffreestanding 13CFLAGS_REMOVE_helloworld.o := $(CFLAGS_NON_EFI) -Os 14 15ifneq ($(CONFIG_CMD_BOOTEFI_HELLO_COMPILE),) 16always += helloworld.efi 17endif 18 19obj-$(CONFIG_CMD_BOOTEFI_HELLO) += helloworld_efi.o 20obj-y += efi_bootmgr.o 21obj-y += efi_boottime.o 22obj-y += efi_console.o 23obj-y += efi_device_path.o 24obj-y += efi_device_path_to_text.o 25obj-y += efi_device_path_utilities.o 26obj-y += efi_file.o 27obj-y += efi_image_loader.o 28obj-y += efi_memory.o 29obj-y += efi_root_node.o 30obj-y += efi_runtime.o 31obj-y += efi_unicode_collation.o 32obj-y += efi_variable.o 33obj-y += efi_watchdog.o 34obj-$(CONFIG_LCD) += efi_gop.o 35obj-$(CONFIG_DM_VIDEO) += efi_gop.o 36obj-$(CONFIG_PARTITIONS) += efi_disk.o 37obj-$(CONFIG_NET) += efi_net.o 38obj-$(CONFIG_GENERATE_ACPI_TABLE) += efi_acpi.o 39obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += efi_smbios.o 40