Return-Path: Received: from conuserg-07.nifty.com ([210.131.2.74]:30630 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725837AbgDDHUw (ORCPT ); Sat, 4 Apr 2020 03:20:52 -0400 From: Masahiro Yamada Subject: [PATCH] kbuild: remove -I$(srctree)/tools/include from scripts/Makefile Date: Sat, 4 Apr 2020 16:20:34 +0900 Message-Id: <20200404072034.15798-1-masahiroy@kernel.org> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, 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 --- 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