Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4923022imm; Tue, 11 Sep 2018 21:26:16 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZCWtsXtHyUHoZKIBJFODBouOjn/okqYCnOonNXulKViamrCnSF0FqOHjFHDw7dMtkw4rCa X-Received: by 2002:a17:902:7c8c:: with SMTP id y12-v6mr30899270pll.283.1536726376919; Tue, 11 Sep 2018 21:26:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536726376; cv=none; d=google.com; s=arc-20160816; b=klm5DJ82ZvpVI6cU/aSffkvAOHrhiSYq53JncK9uhsm93saWpsAijPypacxrtAi2GN 7olurk0m9xfee4URGHXn0/kw+db24zq/zUXm27yRdqf9/QX/l9zlLx6Qq+CrdAcqlWj0 r4tx8A4cD4HP5ZZ8slD9kziipbdriiyVZUM/Ob3LpTFZ+0ehSWDxwvZhnOd/4JAWFpte TWlVIzI3+QVNhJhfIIGCm6XtHmM/pDisW3cGJaJEM35gJ8NuLxpulPdX86yVKzDrYJyA Kd75z8tiVN8y6i9JFeHBZUqh3SumtyoghLX0F9cRMU2JKzpbyJFP5saN34N5/qD/d6Lu PObQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=UrKjS4w0DtVaY1t9GuHe2zcZQugHX0XIU9drYuKoqBw=; b=BIomxD8usZKtsIV8MriYcB7Bc061DZFsdZ9WwcD7m1wVtMOTGSphhAmgFUZ6sGoAj1 aL6r/NLW342kV5x/38ijIN72e0uMg+FmZVxJmhCr2OpBmkXvjIsCY35mio6Ln9UCj9Xq 2C6vBJbElNvpAFNFaLnTJ7ZvV/E6Mtb0DGfj5QQY2MnfTh1QgzuvNcxVHDy1VeAiIfXf SZWSp5k74cBO/0wAP9nEiJ4UNK0JYMCS6CMaWb6w2D00OejMuLLBnjeIUEDiycxS5tdS on/clQW7Cr3LeXRcXrGcUWFOaU+mrHdSj8XLVvZHFevvEz8/VUzNutX/qKZe8r7tqzcy W+vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=2UlIyprc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t10-v6si23140732pge.624.2018.09.11.21.26.00; Tue, 11 Sep 2018 21:26:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=2UlIyprc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726358AbeILJ2c (ORCPT + 99 others); Wed, 12 Sep 2018 05:28:32 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:32285 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725740AbeILJ2c (ORCPT ); Wed, 12 Sep 2018 05:28:32 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-07.nifty.com with ESMTP id w8C4PNLV025631; Wed, 12 Sep 2018 13:25:23 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com w8C4PNLV025631 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1536726324; bh=UrKjS4w0DtVaY1t9GuHe2zcZQugHX0XIU9drYuKoqBw=; h=From:To:Cc:Subject:Date:From; b=2UlIyprc6ZCHRtbEFdu2aW2u/7lks3sqUjfFz/U3JAS6AJM8Y6SSsh3o3mI04oCYW qqcbOAvvSDLOfis/FX6LqidGJ/VjQf6Ub6qd43eK//i4DW73bkeAPRoZjuHLMy4cKJ H7qRilyyDoB3bqHt5gkJdVrb7W/wTyOr3JMxPxxfvMbwlPhrV9DB48DfXS3RWpTCim zVCbpd0VGUq5hxG454Of+wihxonWwr2w0Q3AIZZym4hmyIQ3X75XwuE35wsYjtvIhw k5EV7zLYtFaf9eGgdx6AMrj2hnXyHGmxH3wMhKKduZCOCItBqoMwsL03Ins8YfsnmK ghI38/7bK9jUg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] xtensa: remove unnecessary KBUILD_SRC ifeq conditional Date: Wed, 12 Sep 2018 13:25:19 +0900 Message-Id: <1536726319-9645-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org You can always prefix variant/platform header search paths with $(srctree)/ because $(srctree) is '.' for in-tree building. Signed-off-by: Masahiro Yamada --- arch/xtensa/Makefile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/xtensa/Makefile b/arch/xtensa/Makefile index 295c120..d67e30fa 100644 --- a/arch/xtensa/Makefile +++ b/arch/xtensa/Makefile @@ -64,11 +64,7 @@ endif vardirs := $(patsubst %,arch/xtensa/variants/%/,$(variant-y)) plfdirs := $(patsubst %,arch/xtensa/platforms/%/,$(platform-y)) -ifeq ($(KBUILD_SRC),) -KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(vardirs) $(plfdirs)) -else KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(vardirs) $(plfdirs)) -endif KBUILD_DEFCONFIG := iss_defconfig -- 2.7.4