blob: acd184db4b0becb52698adf5b1b8dddceccd0a72 [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 Schuchardt927ca892017-11-06 21:17:43 +010018CFLAGS_efi_selftest_manageprotocols.o := $(CFLAGS_EFI)
19CFLAGS_REMOVE_efi_selftest_manageprotocols.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt5ca23ed2017-10-05 16:36:07 +020020CFLAGS_efi_selftest_snp.o := $(CFLAGS_EFI)
21CFLAGS_REMOVE_efi_selftest_snp.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt7406f822017-10-18 18:13:19 +020022CFLAGS_efi_selftest_textoutput.o := $(CFLAGS_EFI)
23CFLAGS_REVMOE_efi_selftest_textoutput.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt1835f6e2017-09-15 10:06:17 +020024CFLAGS_efi_selftest_tpl.o := $(CFLAGS_EFI)
25CFLAGS_REMOVE_efi_selftest_tpl.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt5ca23ed2017-10-05 16:36:07 +020026CFLAGS_efi_selftest_util.o := $(CFLAGS_EFI)
27CFLAGS_REMOVE_efi_selftest_util.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt30a00452017-10-18 18:13:05 +020028CFLAGS_efi_selftest_watchdog.o := $(CFLAGS_EFI)
29CFLAGS_REMOVE_efi_selftest_watchdog.o := $(CFLAGS_NON_EFI)
Heinrich Schuchardt623b3a52017-09-15 10:06:11 +020030
31obj-$(CONFIG_CMD_BOOTEFI_SELFTEST) += \
32efi_selftest.o \
Heinrich Schuchardtbd126692017-09-15 10:06:15 +020033efi_selftest_console.o \
Heinrich Schuchardt1835f6e2017-09-15 10:06:17 +020034efi_selftest_events.o \
Heinrich Schuchardt09238762017-09-15 10:06:19 +020035efi_selftest_exitbootservices.o \
Heinrich Schuchardt927ca892017-11-06 21:17:43 +010036efi_selftest_manageprotocols.o \
Heinrich Schuchardt5ca23ed2017-10-05 16:36:07 +020037efi_selftest_snp.o \
Heinrich Schuchardt7406f822017-10-18 18:13:19 +020038efi_selftest_textoutput.o \
Heinrich Schuchardt5ca23ed2017-10-05 16:36:07 +020039efi_selftest_tpl.o \
Heinrich Schuchardt30a00452017-10-18 18:13:05 +020040efi_selftest_util.o \
41efi_selftest_watchdog.o