diff options
author | Tom Rini <trini@konsulko.com> | 2020-02-21 15:45:06 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-02-24 12:50:57 -0500 |
commit | 70c89f9c8d76e1b512e282e1bbae17a9b528a466 (patch) | |
tree | fa224e0fc9006c68531227b2a59ceac22e413420 | |
parent | 01276b1048ba48f8ee967650723daa8fdbd3fdb1 (diff) | |
download | u-boot-70c89f9c8d76e1b512e282e1bbae17a9b528a466.tar.gz |
efi_selftest: Ensure we include the object directory for generated headers
The current rules for generating -I lines for objects gives us both
-I/full/src/path/lib/efi_selftest and -Ilib/efi_selftest. However, if
we re-sync the Kbuild logic we no longer get the latter implicitly. We
will need to be explicit in such cases, so do so.
Cc: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
-rw-r--r-- | lib/efi_selftest/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/efi_selftest/Makefile b/lib/efi_selftest/Makefile index 3ad96e1cbf..7d0199d634 100644 --- a/lib/efi_selftest/Makefile +++ b/lib/efi_selftest/Makefile @@ -12,6 +12,10 @@ CFLAGS_efi_selftest_miniapp_exit.o := $(CFLAGS_EFI) -Os -ffreestanding CFLAGS_REMOVE_efi_selftest_miniapp_exit.o := $(CFLAGS_NON_EFI) CFLAGS_efi_selftest_miniapp_return.o := $(CFLAGS_EFI) -Os -ffreestanding CFLAGS_REMOVE_efi_selftest_miniapp_return.o := $(CFLAGS_NON_EFI) +CFLAGS_efi_selftest_exception.o += -I$(objtree)/$(obj) +CFLAGS_efi_selftest_loadimage.o += -I$(objtree)/$(obj) +CFLAGS_efi_selftest_startimage_exit.o += -I$(objtree)/$(obj) +CFLAGS_efi_selftest_startimage_return.o += -I$(objtree)/$(obj) obj-y += \ efi_selftest.o \ |