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 | 45bb4dc | 2017-10-18 18:13:19 +0200 | [diff] [blame^] | 20 | CFLAGS_efi_selftest_textoutput.o := $(CFLAGS_EFI) |
| 21 | CFLAGS_REVMOE_efi_selftest_textoutput.o := $(CFLAGS_NON_EFI) |
Heinrich Schuchardt | ee0f65d | 2017-09-15 10:06:17 +0200 | [diff] [blame] | 22 | CFLAGS_efi_selftest_tpl.o := $(CFLAGS_EFI) |
| 23 | CFLAGS_REMOVE_efi_selftest_tpl.o := $(CFLAGS_NON_EFI) |
Heinrich Schuchardt | 2a6daf7 | 2017-10-05 16:36:07 +0200 | [diff] [blame] | 24 | CFLAGS_efi_selftest_util.o := $(CFLAGS_EFI) |
| 25 | CFLAGS_REMOVE_efi_selftest_util.o := $(CFLAGS_NON_EFI) |
Heinrich Schuchardt | 4bce80a | 2017-10-18 18:13:05 +0200 | [diff] [blame] | 26 | CFLAGS_efi_selftest_watchdog.o := $(CFLAGS_EFI) |
| 27 | CFLAGS_REMOVE_efi_selftest_watchdog.o := $(CFLAGS_NON_EFI) |
Heinrich Schuchardt | d33ae3e | 2017-09-15 10:06:11 +0200 | [diff] [blame] | 28 | |
| 29 | obj-$(CONFIG_CMD_BOOTEFI_SELFTEST) += \ |
| 30 | efi_selftest.o \ |
Heinrich Schuchardt | b277ced | 2017-09-15 10:06:15 +0200 | [diff] [blame] | 31 | efi_selftest_console.o \ |
Heinrich Schuchardt | ee0f65d | 2017-09-15 10:06:17 +0200 | [diff] [blame] | 32 | efi_selftest_events.o \ |
Heinrich Schuchardt | 630d134 | 2017-09-15 10:06:19 +0200 | [diff] [blame] | 33 | efi_selftest_exitbootservices.o \ |
Heinrich Schuchardt | 2a6daf7 | 2017-10-05 16:36:07 +0200 | [diff] [blame] | 34 | efi_selftest_snp.o \ |
Heinrich Schuchardt | 45bb4dc | 2017-10-18 18:13:19 +0200 | [diff] [blame^] | 35 | efi_selftest_textoutput.o \ |
Heinrich Schuchardt | 2a6daf7 | 2017-10-05 16:36:07 +0200 | [diff] [blame] | 36 | efi_selftest_tpl.o \ |
Heinrich Schuchardt | 4bce80a | 2017-10-18 18:13:05 +0200 | [diff] [blame] | 37 | efi_selftest_util.o \ |
| 38 | efi_selftest_watchdog.o |