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 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) 14CFLAGS_efi_selftest_events.o := $(CFLAGS_EFI) 15CFLAGS_REMOVE_efi_selftest_events.o := $(CFLAGS_NON_EFI) 16CFLAGS_efi_selftest_exitbootservices.o := $(CFLAGS_EFI) 17CFLAGS_REMOVE_efi_selftest_exitbootservices.o := $(CFLAGS_NON_EFI) 18CFLAGS_efi_selftest_snp.o := $(CFLAGS_EFI) 19CFLAGS_REMOVE_efi_selftest_snp.o := $(CFLAGS_NON_EFI) 20CFLAGS_efi_selftest_tpl.o := $(CFLAGS_EFI) 21CFLAGS_REMOVE_efi_selftest_tpl.o := $(CFLAGS_NON_EFI) 22CFLAGS_efi_selftest_util.o := $(CFLAGS_EFI) 23CFLAGS_REMOVE_efi_selftest_util.o := $(CFLAGS_NON_EFI) 24 25obj-$(CONFIG_CMD_BOOTEFI_SELFTEST) += \ 26efi_selftest.o \ 27efi_selftest_console.o \ 28efi_selftest_events.o \ 29efi_selftest_exitbootservices.o \ 30efi_selftest_snp.o \ 31efi_selftest_tpl.o \ 32efi_selftest_util.o 33