History

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.

Masahiro Yamada committed 6 years ago

Commit c8bddf41 parent 01a61261 file · +0 −4Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/Makefile+0−4
@@ -2,10 +2,6 @@ · 1 unmodified line
2###2###
3# scripts contains sources for various helper programs used throughout3# scripts contains sources for various helper programs used throughout
4# the kernel for the build process.4# the kernel for the build process.
5# ---------------------------------------------------------------------------
6# kallsyms: Find all symbols in vmlinux
7
8HOST_EXTRACFLAGS += -I$(srctree)/tools/include
9 5
10always-$(CONFIG_BUILD_BIN2C) += bin2c6always-$(CONFIG_BUILD_BIN2C) += bin2c
11always-$(CONFIG_KALLSYMS) += kallsyms7always-$(CONFIG_KALLSYMS) += kallsyms