public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kbuild: remove -I$(srctree)/tools/include from scripts/Makefile
@ 2020-04-04  7:20 Masahiro Yamada
  0 siblings, 0 replies; only message in thread
From: Masahiro Yamada @ 2020-04-04  7:20 UTC (permalink / raw)
  To: linux-kbuild; +Cc: linux-kernel, Masahiro Yamada, Michal Marek

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-04  7:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-04  7:20 [PATCH] kbuild: remove -I$(srctree)/tools/include from scripts/Makefile Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox