blob: e446046e0220b2329da36ec0004b3a2ea1920dcf [file] [log] [blame]
Heinrich Schuchardtd33ae3e2017-09-15 10:06:11 +02001:
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
10CFLAGS_efi_selftest.o := $(CFLAGS_EFI)
11CFLAGS_REMOVE_efi_selftest.o := $(CFLAGS_NON_EFI)
12CFLAGS_efi_selftest_console.o := $(CFLAGS_EFI)
13CFLAGS_REMOVE_efi_selftest_console.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardtb277ced2017-09-15 10:06:15 +020014CFLAGS_efi_selftest_events.o := $(CFLAGS_EFI)
15CFLAGS_REMOVE_efi_selftest_events.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt630d1342017-09-15 10:06:19 +020016CFLAGS_efi_selftest_exitbootservices.o := $(CFLAGS_EFI)
17CFLAGS_REMOVE_efi_selftest_exitbootservices.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt2a6daf72017-10-05 16:36:07 +020018CFLAGS_efi_selftest_snp.o := $(CFLAGS_EFI)
19CFLAGS_REMOVE_efi_selftest_snp.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardtee0f65d2017-09-15 10:06:17 +020020CFLAGS_efi_selftest_tpl.o := $(CFLAGS_EFI)
21CFLAGS_REMOVE_efi_selftest_tpl.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt2a6daf72017-10-05 16:36:07 +020022CFLAGS_efi_selftest_util.o := $(CFLAGS_EFI)
23CFLAGS_REMOVE_efi_selftest_util.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardtd33ae3e2017-09-15 10:06:11 +020024
25obj-$(CONFIG_CMD_BOOTEFI_SELFTEST) += \
26efi_selftest.o \
Heinrich Schuchardtb277ced2017-09-15 10:06:15 +020027efi_selftest_console.o \
Heinrich Schuchardtee0f65d2017-09-15 10:06:17 +020028efi_selftest_events.o \
Heinrich Schuchardt630d1342017-09-15 10:06:19 +020029efi_selftest_exitbootservices.o \
Heinrich Schuchardt2a6daf72017-10-05 16:36:07 +020030efi_selftest_snp.o \
31efi_selftest_tpl.o \
32efi_selftest_util.o