All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] efi_selftest: Ensure we include the object directory for generated headers
@ 2020-02-21 20:48 Tom Rini
  2020-02-21 21:34 ` Heinrich Schuchardt
  0 siblings, 1 reply; 6+ messages in thread
From: Tom Rini @ 2020-02-21 20:48 UTC (permalink / raw)
  To: u-boot

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: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
 lib/efi_selftest/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/efi_selftest/Makefile b/lib/efi_selftest/Makefile
index 3ad96e1cbf08..7d0199d634c6 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 \
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-02-26 14:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-21 20:48 [PATCH] efi_selftest: Ensure we include the object directory for generated headers Tom Rini
2020-02-21 21:34 ` Heinrich Schuchardt
2020-02-21 21:52   ` Tom Rini
2020-02-21 22:56     ` Heinrich Schuchardt
2020-02-26  0:53     ` Masahiro Yamada
2020-02-26 14:21       ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.