All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/7] misc: Add more -I$(objtree)/$(obj) lines
@ 2020-02-24 18:05 Tom Rini
  2020-02-24 18:05 ` [PATCH 2/7] mx31pdk: Move CONFIG_SPL_LDSCRIPT to defconfig Tom Rini
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Tom Rini @ 2020-02-24 18:05 UTC (permalink / raw)
  To: u-boot

We have a few more places where we depend at build time on generated
files being found within the compiler search path.  Add appropriate -I
lines in these places.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 cmd/Makefile        | 2 ++
 lib/Makefile        | 1 +
 lib/crypto/Makefile | 4 ++++
 3 files changed, 7 insertions(+)

diff --git a/cmd/Makefile b/cmd/Makefile
index f1dd513a4b41..8ae0478047e9 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -228,3 +228,5 @@ $(obj)/license_data_size.h: $(srctree)/Licenses/gpl-2.0.txt FORCE
 	$(call filechk,data_size)
 
 CFLAGS_ethsw.o := -Wno-enum-conversion
+CFLAGS_config.o += -I$(objtree)/$(obj)
+CFLAGS_license.o += -I$(objtree)/$(obj)
diff --git a/lib/Makefile b/lib/Makefile
index 15259d0473c4..771e4de5a183 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -127,6 +127,7 @@ obj-y += date.o
 # Build a fast OID lookup registry from include/linux/oid_registry.h
 #
 obj-$(CONFIG_OID_REGISTRY) += oid_registry.o
+CFLAGS_oid_registry.o += -I$(objtree)/$(obj)
 
 $(obj)/oid_registry.o: $(obj)/oid_registry_data.c
 
diff --git a/lib/crypto/Makefile b/lib/crypto/Makefile
index 8267fee0a7b8..96a3910872fd 100644
--- a/lib/crypto/Makefile
+++ b/lib/crypto/Makefile
@@ -47,3 +47,7 @@ pkcs7_message-y := \
 
 $(obj)/pkcs7_parser.o: $(obj)/pkcs7.asn1.h
 $(obj)/pkcs7.asn1.o: $(obj)/pkcs7.asn1.c $(obj)/pkcs7.asn1.h
+
+CFLAGS_rsa_helper.o += -I$(objtree)/$(obj)
+CFLAGS_pkcs7_parser.o += -I$(objtree)/$(obj)
+CFLAGS_x509_cert_parser.o += -I$(objtree)/$(obj)
-- 
2.17.1

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

end of thread, other threads:[~2020-03-17 15:30 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-24 18:05 [PATCH 1/7] misc: Add more -I$(objtree)/$(obj) lines Tom Rini
2020-02-24 18:05 ` [PATCH 2/7] mx31pdk: Move CONFIG_SPL_LDSCRIPT to defconfig Tom Rini
2020-02-24 19:22   ` Magnus Lilja
2020-03-17 15:30   ` Tom Rini
2020-02-24 18:05 ` [PATCH 3/7] Kconfig: Escape variables to make in default strings Tom Rini
2020-02-26  2:35   ` Masahiro Yamada
2020-02-26 15:22     ` Tom Rini
2020-02-24 18:05 ` [PATCH 4/7] Kconfig: Remove redundant variable sets Tom Rini
2020-02-26  2:41   ` Masahiro Yamada
2020-02-26 15:23     ` Tom Rini
2020-02-24 18:05 ` [PATCH 5/7] Azure / GitLab / Travis: Add Kconfig unit tests to a job Tom Rini
2020-02-26  2:44   ` Masahiro Yamada
2020-02-24 18:05 ` [PATCH 6/7] scripts/dtc: Update to upstream version v1.4.6-21-g84e414b0b5bc Tom Rini
2020-02-24 18:05 ` [PATCH 7/7] kconfig / kbuild: re-sync with Linux 4.18 Tom Rini
2020-02-26  1:04   ` Masahiro Yamada
2020-02-26  3:32     ` 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.