blob: 88b998bd4cc69138acfd3558645a2ea6a6be295a [file] [log] [blame]
Heinrich Schuchardt623b3a52017-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 Schuchardtbd126692017-09-15 10:06:15 +020014CFLAGS_efi_selftest_events.o := $(CFLAGS_EFI)
15CFLAGS_REMOVE_efi_selftest_events.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt09238762017-09-15 10:06:19 +020016CFLAGS_efi_selftest_exitbootservices.o := $(CFLAGS_EFI)
17CFLAGS_REMOVE_efi_selftest_exitbootservices.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt5ca23ed2017-10-05 16:36:07 +020018CFLAGS_efi_selftest_snp.o := $(CFLAGS_EFI)
19CFLAGS_REMOVE_efi_selftest_snp.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt7406f822017-10-18 18:13:19 +020020CFLAGS_efi_selftest_textoutput.o := $(CFLAGS_EFI)
21CFLAGS_REVMOE_efi_selftest_textoutput.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt1835f6e2017-09-15 10:06:17 +020022CFLAGS_efi_selftest_tpl.o := $(CFLAGS_EFI)
23CFLAGS_REMOVE_efi_selftest_tpl.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt5ca23ed2017-10-05 16:36:07 +020024CFLAGS_efi_selftest_util.o := $(CFLAGS_EFI)
25CFLAGS_REMOVE_efi_selftest_util.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt30a00452017-10-18 18:13:05 +020026CFLAGS_efi_selftest_watchdog.o := $(CFLAGS_EFI)
27CFLAGS_REMOVE_efi_selftest_watchdog.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt623b3a52017-09-15 10:06:11 +020028
29obj-$(CONFIG_CMD_BOOTEFI_SELFTEST) += \
30efi_selftest.o \
Heinrich Schuchardtbd126692017-09-15 10:06:15 +020031efi_selftest_console.o \
Heinrich Schuchardt1835f6e2017-09-15 10:06:17 +020032efi_selftest_events.o \
Heinrich Schuchardt09238762017-09-15 10:06:19 +020033efi_selftest_exitbootservices.o \
Heinrich Schuchardt5ca23ed2017-10-05 16:36:07 +020034efi_selftest_snp.o \
Heinrich Schuchardt7406f822017-10-18 18:13:19 +020035efi_selftest_textoutput.o \
Heinrich Schuchardt5ca23ed2017-10-05 16:36:07 +020036efi_selftest_tpl.o \
Heinrich Schuchardt30a00452017-10-18 18:13:05 +020037efi_selftest_util.o \
38efi_selftest_watchdog.o