From: Masahiro Yamada <masahiroy@kernel.org>
To: linux-kbuild@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
Masahiro Yamada <masahiroy@kernel.org>,
Michal Marek <michal.lkml@markovi.net>
Subject: [PATCH] kbuild: remove -I$(srctree)/tools/include from scripts/Makefile
Date: Sat, 4 Apr 2020 16:20:34 +0900 [thread overview]
Message-ID: <20200404072034.15798-1-masahiroy@kernel.org> (raw)
I do not like to add an extra include path for every tool with no
good reason. This should be specified per file.
This line was added by commit 6520fe5564ac ("x86, realmode: 16-bit
real-mode code support for relocs tool"), which did not touch
anything else in scripts/. I do not know why this was needed.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
scripts/Makefile | 2 --
1 file changed, 2 deletions(-)
diff --git a/scripts/Makefile b/scripts/Makefile
index 5e75802b1a44..da63ba81e9e7 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -5,8 +5,6 @@
# ---------------------------------------------------------------------------
# kallsyms: Find all symbols in vmlinux
-HOST_EXTRACFLAGS += -I$(srctree)/tools/include
-
always-$(CONFIG_BUILD_BIN2C) += bin2c
always-$(CONFIG_KALLSYMS) += kallsyms
always-$(BUILD_C_RECORDMCOUNT) += recordmcount
--
2.17.1
reply other threads:[~2020-04-04 7:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20200404072034.15798-1-masahiroy@kernel.org \
--to=masahiroy@kernel.org \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.lkml@markovi.net \
/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;
as well as URLs for NNTP newsgroup(s).