From patchwork Tue Jul 25 02:23:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 9861049 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4BBF4600F5 for ; Tue, 25 Jul 2017 02:26:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 37EF520602 for ; Tue, 25 Jul 2017 02:26:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2C675209D8; Tue, 25 Jul 2017 02:26:33 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4BED20602 for ; Tue, 25 Jul 2017 02:26:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755939AbdGYC03 (ORCPT ); Mon, 24 Jul 2017 22:26:29 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:37829 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754061AbdGYC00 (ORCPT ); Mon, 24 Jul 2017 22:26:26 -0400 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 v6P2OfLv014470; Tue, 25 Jul 2017 11:24:44 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v6P2OfLv014470 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1500949485; bh=CtnGZEvP5HOyszAhNJ10YWWTpBXHNEJA5l7Ny4N/cak=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VoGgsXW+/MXdgk/95UAEYCTKYwaKZQOhk9njXP44DpZO3CIQ/0yTm0ZJcmkas6m0v IjcR35uFUKSka4jSOun57HT5fHBRwoJPLozQFfQaLQ/LzDqu9F5Kaj/QSvKKrM7amx 26ZwcNALHUVhVxXyd2RUXvp7wuKlER8Tk7XPt1BVHzNp8CW/Wth4qBUmC4eibKnDUv OWlzcb4kVGpZoMrTjavXqOjCY2/nVpgINN8A9mG32/2j3z90U7DGcfCghWMWPP2HWO 1moj8M5rRK0WgjBMXpxUnbvw2FwKYiaZzQpp2t3f7JaA5bdBwZrKqSHlvbOhiPf2G/ YWkMsLpcnb50g== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: devicetree@vger.kernel.org, Rob Herring Cc: linux-arch , Omar Sandoval , Gaurav Minocha , Grant Likely , Frank Rowand , Mark Rutland , Olof Johansson , Russell King , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH 2/3] of: remove arch/$(SRCARCH)/boot/dts from include search path for CPP Date: Tue, 25 Jul 2017 11:23:35 +0900 Message-Id: <1500949416-24105-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1500949416-24105-1-git-send-email-yamada.masahiro@socionext.com> References: <1500949416-24105-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Having arch/$(SRCARCH)/boot/dts as an include search path is not very useful these days because some architectures such as ARM64, MIPS have no DT in this directory. Instead, they have DT in vendor sub-directories. With some DT files in ARM and PowerPC fixed, we can now drop this include search path. Signed-off-by: Masahiro Yamada --- scripts/Makefile.lib | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 011d464d2132..9c8f38ac2620 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -174,7 +174,6 @@ cpp_flags = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(LINUXINCLUDE) \ ld_flags = $(LDFLAGS) $(ldflags-y) dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \ - -I$(srctree)/arch/$(SRCARCH)/boot/dts \ -I$(srctree)/scripts/dtc/include-prefixes \ -undef -D__DTS__