summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-04-04 09:20:34 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2020-04-08 17:13:45 +0200
commitc8bddf4feaabd67a7453d795672fa37c4e9e98cb (patch)
tree06ee316d6bfa6d6ce5bb53d35cd45a3462e9ad86 /scripts
parentkbuild: do not pass $(KBUILD_CFLAGS) to scripts/mkcompile_h (diff)
downloadlinux-c8bddf4feaabd67a7453d795672fa37c4e9e98cb.tar.xz
linux-c8bddf4feaabd67a7453d795672fa37c4e9e98cb.zip
kbuild: remove -I$(srctree)/tools/include from scripts/Makefile
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 see no reason to add this. Also, remove the comment about kallsyms because we do not have any for the rest of programs. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 5e75802b1a44..95ecf970c74c 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -2,10 +2,6 @@
###
# scripts contains sources for various helper programs used throughout
# the kernel for the build process.
-# ---------------------------------------------------------------------------
-# kallsyms: Find all symbols in vmlinux
-
-HOST_EXTRACFLAGS += -I$(srctree)/tools/include
always-$(CONFIG_BUILD_BIN2C) += bin2c
always-$(CONFIG_KALLSYMS) += kallsyms