From patchwork Wed Sep 12 04:19:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10596715 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ECC7014E0 for ; Wed, 12 Sep 2018 04:20:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2E74297B2 for ; Wed, 12 Sep 2018 04:20:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C5418297C3; Wed, 12 Sep 2018 04:20:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5932B297B2 for ; Wed, 12 Sep 2018 04:20:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=aHNevpoV3lzLRVq4awIIX86IwG3DEsiqEblOMMUh3Js=; b=OJI zH69viyunWf3tf3AoaQG/hr5kWWDARGpP6jpsgnzG4N2nk2RAbMZ0JcPDiXNWhkw9W2UAs/W38f58 gchkic4zUlEqDUINodbHPR7B8aWTD5fEx0L/DQdHLO8OPzveufIHxpwzttEV+t+O+F2+o3VMOw5OE dsf+DgyhKYTbLO/3LyNPX3+X7w/o++tMruSDYLJegEipIEJrYvajpHY9WOFhjUKYQw0DeiUK2XDHi PkgdSRwF6KCLexK0JzOYGgY98f+jq2/Aagsu1BIT/pbWyR0geDHEg04ZS9RlXVhYBiEEw21tkCYuy THUUV3QeXO5X3mXHSNlhkBtlpvOhohA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzwdd-0006j6-Bd; Wed, 12 Sep 2018 04:20:25 +0000 Received: from conuserg-09.nifty.com ([210.131.2.76]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzwd0-0005kS-AP for linux-arm-kernel@lists.infradead.org; Wed, 12 Sep 2018 04:19:48 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id w8C4J8bN016547; Wed, 12 Sep 2018 13:19:08 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com w8C4J8bN016547 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1536725949; bh=4kjbvxWJBpmQ6poDCtCAZrgx0SF1BBgDQWTx8o+LB20=; h=From:To:Cc:Subject:Date:From; b=AsHWlDLp/mSbYytMoIFDt5HWuvUapXDMgc/3LP0dZg65oqibYsqbc8ms4C/Xr7WSw 58iL/prz7JwkaseipTntw8gcWabhUR6nYJYnq9fEEcZN7BPSFusuYB0s8/HNi99/Yn oqmN37GoLe338BmBxWe6QLckxOKEiWJIM0QnPCVVVxzGkAJAaSQERMoKNY2kNsF3gC G4xQRpI8xH17wMRDicGmDwtvEF6CNJE8KB7fYf1zQQM1rCnx2zNctMYTY9i9b+DUTL J066pEbZCa0oM7y78dzIoWlZ6QIMK1vEgfm1s4GREOYNiemnbZ2+ECvFLN7qyD0SAm sh9yVWlHVFOwQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: patches@arm.linux.org.uk Subject: [PATCH] ARM: remove unnecessary KBUILD_SRC ifeq conditional Date: Wed, 12 Sep 2018 13:19:02 +0900 Message-Id: <1536725942-9206-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180911_211946_729679_A75A8EAB X-CRM114-Status: UNSURE ( 6.06 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Masahiro Yamada , Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP You can always prefix machine/plat header search paths with $(srctree)/ because $(srctree) is '.' for in-tree building. Signed-off-by: Masahiro Yamada --- KernelVersion: v4.19-rc3 arch/arm/Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index d1516f8..06ebff7 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -264,13 +264,9 @@ platdirs := $(patsubst %,arch/arm/plat-%/,$(sort $(plat-y))) ifneq ($(CONFIG_ARCH_MULTIPLATFORM),y) ifneq ($(CONFIG_ARM_SINGLE_ARMV7M),y) -ifeq ($(KBUILD_SRC),) -KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(machdirs) $(platdirs)) -else KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs) $(platdirs)) endif endif -endif export TEXT_OFFSET GZFLAGS MMUEXT