From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH 1/7] misc: Add more -I$(objtree)/$(obj) lines
Date: Mon, 24 Feb 2020 13:05:35 -0500 [thread overview]
Message-ID: <20200224180541.3654-1-trini@konsulko.com> (raw)
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
next reply other threads:[~2020-02-24 18:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-24 18:05 Tom Rini [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200224180541.3654-1-trini@konsulko.com \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox