Skip to content

Commit

Permalink
kbuild: remove -I$(srctree)/tools/include from scripts/Makefile
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
masahir0y committed Apr 8, 2020
1 parent 01a6126 commit c8bddf4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c8bddf4

Please sign in to comment.