From patchwork Wed Sep 12 04:25:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 146493 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4365341ljw; Tue, 11 Sep 2018 21:25:59 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbaU8JAUzA4af1/DRZS+3AmJ0lMiAtHaOQ2FTV6ugGkhVjfkoO7tZNLxEUruT1N8ZEgSqnv X-Received: by 2002:a62:12c7:: with SMTP id 68-v6mr23634pfs.216.1536726359770; Tue, 11 Sep 2018 21:25:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536726359; cv=none; d=google.com; s=arc-20160816; b=flmeUbqr13rdur65hYkRrpRkbmKX4Td2hxM2d7b0GYbaLOVHT1chPrJ9WWrcaTkonq LH5msEuZDaw367q7thTR5QbysSdRNqga4WT0IaA3/C+BxmHVjTkD4uFVP4rmmgzowsin thzIA9G8TyxRvJ5walZJLzKg/a4xK9RaOZnIVHVQdM7GSdKEjpVSc21ouC8cHYN3myDQ ca2Cjt26TFn4PcQ0sblyUnnWJ5PDgqRdXtmjjGH/Fut9CETHEvFt7yvUzzgQEM/5ArV5 VV8WK1gklE+NeIqNShQJaYa8ZLAnSqhRA9Jy0sDGVgmj5MR8GTS4ryrtW3LtT9a901xm J3gA== 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 q23-v6si22499947pgj.354.2018.09.11.21.25.59; Tue, 11 Sep 2018 21:25:59 -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 S1726428AbeILJ2c (ORCPT + 32 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(-) -- 2.7.4 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