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