2018-05-07 17:02:21 -04:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2016-03-04 01:10:07 +01:00
|
|
|
#
|
|
|
|
# (C) Copyright 2016 Alexander Graf
|
|
|
|
#
|
|
|
|
|
|
|
|
# This file only gets included with CONFIG_EFI_LOADER set, so all
|
|
|
|
# object inclusion implicitly depends on it
|
|
|
|
|
2017-12-01 22:09:50 +01:00
|
|
|
CFLAGS_helloworld.o := $(CFLAGS_EFI) -Os -ffreestanding
|
|
|
|
CFLAGS_REMOVE_helloworld.o := $(CFLAGS_NON_EFI) -Os
|
2016-11-07 08:47:08 -07:00
|
|
|
|
2017-09-05 03:19:39 +02:00
|
|
|
ifneq ($(CONFIG_CMD_BOOTEFI_HELLO_COMPILE),)
|
|
|
|
always += helloworld.efi
|
|
|
|
endif
|
2016-11-17 22:40:10 +01:00
|
|
|
|
2016-11-07 08:47:08 -07:00
|
|
|
obj-$(CONFIG_CMD_BOOTEFI_HELLO) += helloworld_efi.o
|
2016-03-04 01:10:07 +01:00
|
|
|
obj-y += efi_image_loader.o efi_boottime.o efi_runtime.o efi_console.o
|
2017-09-13 18:05:28 -04:00
|
|
|
obj-y += efi_memory.o efi_device_path_to_text.o efi_device_path.o
|
2018-03-09 17:43:21 +01:00
|
|
|
obj-y += efi_device_path_utilities.o efi_file.o efi_variable.o efi_bootmgr.o
|
|
|
|
obj-y += efi_watchdog.o
|
2016-03-15 18:38:21 +01:00
|
|
|
obj-$(CONFIG_LCD) += efi_gop.o
|
2017-07-21 15:00:27 -04:00
|
|
|
obj-$(CONFIG_DM_VIDEO) += efi_gop.o
|
2016-03-04 01:10:07 +01:00
|
|
|
obj-$(CONFIG_PARTITIONS) += efi_disk.o
|
2018-04-13 15:26:39 -05:00
|
|
|
obj-$(CONFIG_NET) += efi_net.o
|
2018-06-27 20:38:03 -07:00
|
|
|
obj-$(CONFIG_GENERATE_ACPI_TABLE) += efi_acpi.o
|
2016-08-19 01:23:29 +02:00
|
|
|
obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += efi_smbios.o
|