mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-12 14:23:00 +00:00
3394f20021
Provide a unit test for the EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
78 lines
2.3 KiB
Makefile
78 lines
2.3 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2017, Heinrich Schuchardt <xypron.glpk@gmx.de>
|
|
|
|
# This file only gets included with CONFIG_EFI_LOADER set, so all
|
|
# object inclusion implicitly depends on it
|
|
|
|
CFLAGS_efi_selftest_miniapp_exit.o := $(CFLAGS_EFI) -Os -ffreestanding
|
|
CFLAGS_REMOVE_efi_selftest_miniapp_exit.o := $(CFLAGS_NON_EFI) -Os
|
|
CFLAGS_efi_selftest_miniapp_return.o := $(CFLAGS_EFI) -Os -ffreestanding
|
|
CFLAGS_REMOVE_efi_selftest_miniapp_return.o := $(CFLAGS_NON_EFI) -Os
|
|
|
|
obj-$(CONFIG_CMD_BOOTEFI_SELFTEST) += \
|
|
efi_selftest.o \
|
|
efi_selftest_bitblt.o \
|
|
efi_selftest_config_table.o \
|
|
efi_selftest_controllers.o \
|
|
efi_selftest_console.o \
|
|
efi_selftest_crc32.o \
|
|
efi_selftest_devicepath.o \
|
|
efi_selftest_devicepath_util.o \
|
|
efi_selftest_events.o \
|
|
efi_selftest_event_groups.o \
|
|
efi_selftest_exitbootservices.o \
|
|
efi_selftest_fdt.o \
|
|
efi_selftest_gop.o \
|
|
efi_selftest_loaded_image.o \
|
|
efi_selftest_manageprotocols.o \
|
|
efi_selftest_rtc.o \
|
|
efi_selftest_snp.o \
|
|
efi_selftest_textinput.o \
|
|
efi_selftest_textinputex.o \
|
|
efi_selftest_textoutput.o \
|
|
efi_selftest_tpl.o \
|
|
efi_selftest_unicode_collation.o \
|
|
efi_selftest_util.o \
|
|
efi_selftest_variables.o \
|
|
efi_selftest_watchdog.o
|
|
|
|
ifeq ($(CONFIG_CMD_BOOTEFI_SELFTEST),y)
|
|
obj-$(CONFIG_CPU_V7) += efi_selftest_unaligned.o
|
|
endif
|
|
|
|
ifeq ($(CONFIG_BLK)$(CONFIG_PARTITIONS),yy)
|
|
obj-$(CONFIG_CMD_BOOTEFI_SELFTEST) += efi_selftest_block_device.o
|
|
endif
|
|
|
|
# TODO: As of v2018.01 the relocation code for the EFI application cannot
|
|
# be built on x86_64.
|
|
ifeq ($(CONFIG_X86_64)$(CONFIG_SANDBOX),)
|
|
|
|
ifneq ($(CONFIG_CMD_BOOTEFI_SELFTEST),)
|
|
|
|
obj-y += \
|
|
efi_selftest_startimage_exit.o \
|
|
efi_selftest_startimage_return.o
|
|
|
|
targets += \
|
|
efi_miniapp_file_image_exit.h \
|
|
efi_miniapp_file_image_return.h \
|
|
efi_selftest_miniapp_exit.efi \
|
|
efi_selftest_miniapp_return.efi
|
|
|
|
$(obj)/efi_miniapp_file_image_exit.h: $(obj)/efi_selftest_miniapp_exit.efi
|
|
$(obj)/../../tools/file2include $(obj)/efi_selftest_miniapp_exit.efi > \
|
|
$(obj)/efi_miniapp_file_image_exit.h
|
|
|
|
$(obj)/efi_miniapp_file_image_return.h: $(obj)/efi_selftest_miniapp_return.efi
|
|
$(obj)/../../tools/file2include $(obj)/efi_selftest_miniapp_return.efi > \
|
|
$(obj)/efi_miniapp_file_image_return.h
|
|
|
|
$(obj)/efi_selftest_startimage_exit.o: $(obj)/efi_miniapp_file_image_exit.h
|
|
|
|
$(obj)/efi_selftest_startimage_return.o: $(obj)/efi_miniapp_file_image_return.h
|
|
|
|
endif
|
|
|
|
endif
|