Skip to content

Commit c8bddf4

Browse files
committed
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 6520fe5 ("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 <[email protected]>
1 parent 01a6126 commit c8bddf4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

scripts/Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
###
33
# scripts contains sources for various helper programs used throughout
44
# the kernel for the build process.
5-
# ---------------------------------------------------------------------------
6-
# kallsyms: Find all symbols in vmlinux
7-
8-
HOST_EXTRACFLAGS += -I$(srctree)/tools/include
95

106
always-$(CONFIG_BUILD_BIN2C) += bin2c
117
always-$(CONFIG_KALLSYMS) += kallsyms

0 commit comments

Comments
 (0)