efi_selftest: provide an EFI selftest application
[platform/kernel/u-boot.git] / lib / efi_selftest / Makefile
1 :
2 # (C) Copyright 2017, Heinrich Schuchardt <xypron.glpk@gmx.de>
3 #
4 #  SPDX-License-Identifier:     GPL-2.0+
5 #
6
7 # This file only gets included with CONFIG_EFI_LOADER set, so all
8 # object inclusion implicitly depends on it
9
10 CFLAGS_efi_selftest.o := $(CFLAGS_EFI)
11 CFLAGS_REMOVE_efi_selftest.o := $(CFLAGS_NON_EFI)
12 CFLAGS_efi_selftest_console.o := $(CFLAGS_EFI)
13 CFLAGS_REMOVE_efi_selftest_console.o := $(CFLAGS_NON_EFI)
14
15 obj-$(CONFIG_CMD_BOOTEFI_SELFTEST) += \
16 efi_selftest.o \
17 efi_selftest_console.o