diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2017-09-15 11:06:11 +0300 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2017-09-19 00:53:57 +0300 |
commit | 623b3a579765f8e05723bd1eff6f8c7e56d33922 (patch) | |
tree | 6c51f2a6aa341c2e6c424201f48630d7c9c61f1c /lib/efi_selftest/Makefile | |
parent | ea630ce9eae4858a2108bd019a6ef22e2bc1b3f6 (diff) | |
download | u-boot-623b3a579765f8e05723bd1eff6f8c7e56d33922.tar.xz |
efi_selftest: provide an EFI selftest application
A testing framework for the EFI API is provided.
It can be executed with the 'bootefi selftest' command.
It is coded in a way that at a later stage we may turn it
into a standalone EFI application. The current build system
does not allow this yet.
All tests use a driver model and are run in three phases:
setup, execute, teardown.
A test may be setup and executed at boottime,
it may be setup at boottime and executed at runtime,
or it may be setup and executed at runtime.
After executing all tests the system is reset.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_selftest/Makefile')
-rw-r--r-- | lib/efi_selftest/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/efi_selftest/Makefile b/lib/efi_selftest/Makefile new file mode 100644 index 0000000000..34f5ff1838 --- /dev/null +++ b/lib/efi_selftest/Makefile @@ -0,0 +1,17 @@ +: +# (C) Copyright 2017, Heinrich Schuchardt <xypron.glpk@gmx.de> +# +# SPDX-License-Identifier: GPL-2.0+ +# + +# This file only gets included with CONFIG_EFI_LOADER set, so all +# object inclusion implicitly depends on it + +CFLAGS_efi_selftest.o := $(CFLAGS_EFI) +CFLAGS_REMOVE_efi_selftest.o := $(CFLAGS_NON_EFI) +CFLAGS_efi_selftest_console.o := $(CFLAGS_EFI) +CFLAGS_REMOVE_efi_selftest_console.o := $(CFLAGS_NON_EFI) + +obj-$(CONFIG_CMD_BOOTEFI_SELFTEST) += \ +efi_selftest.o \ +efi_selftest_console.o |