Heinrich Schuchardt | d33ae3e | 2017-09-15 10:06:11 +0200 | [diff] [blame] | 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) |
Heinrich Schuchardt | b277ced | 2017-09-15 10:06:15 +0200 | [diff] [blame] | 14 | CFLAGS_efi_selftest_events.o := $(CFLAGS_EFI) |
| 15 | CFLAGS_REMOVE_efi_selftest_events.o := $(CFLAGS_NON_EFI) |
Heinrich Schuchardt | 630d134 | 2017-09-15 10:06:19 +0200 | [diff] [blame] | 16 | CFLAGS_efi_selftest_exitbootservices.o := $(CFLAGS_EFI) |
| 17 | CFLAGS_REMOVE_efi_selftest_exitbootservices.o := $(CFLAGS_NON_EFI) |
Heinrich Schuchardt | 2a6daf7 | 2017-10-05 16:36:07 +0200 | [diff] [blame] | 18 | CFLAGS_efi_selftest_snp.o := $(CFLAGS_EFI) |
| 19 | CFLAGS_REMOVE_efi_selftest_snp.o := $(CFLAGS_NON_EFI) |
Heinrich Schuchardt | ee0f65d | 2017-09-15 10:06:17 +0200 | [diff] [blame] | 20 | CFLAGS_efi_selftest_tpl.o := $(CFLAGS_EFI) |
| 21 | CFLAGS_REMOVE_efi_selftest_tpl.o := $(CFLAGS_NON_EFI) |
Heinrich Schuchardt | 2a6daf7 | 2017-10-05 16:36:07 +0200 | [diff] [blame] | 22 | CFLAGS_efi_selftest_util.o := $(CFLAGS_EFI) |
| 23 | CFLAGS_REMOVE_efi_selftest_util.o := $(CFLAGS_NON_EFI) |
Heinrich Schuchardt | d33ae3e | 2017-09-15 10:06:11 +0200 | [diff] [blame] | 24 | |
| 25 | obj-$(CONFIG_CMD_BOOTEFI_SELFTEST) += \ |
| 26 | efi_selftest.o \ |
Heinrich Schuchardt | b277ced | 2017-09-15 10:06:15 +0200 | [diff] [blame] | 27 | efi_selftest_console.o \ |
Heinrich Schuchardt | ee0f65d | 2017-09-15 10:06:17 +0200 | [diff] [blame] | 28 | efi_selftest_events.o \ |
Heinrich Schuchardt | 630d134 | 2017-09-15 10:06:19 +0200 | [diff] [blame] | 29 | efi_selftest_exitbootservices.o \ |
Heinrich Schuchardt | 2a6daf7 | 2017-10-05 16:36:07 +0200 | [diff] [blame] | 30 | efi_selftest_snp.o \ |
| 31 | efi_selftest_tpl.o \ |
| 32 | efi_selftest_util.o |