From patchwork Wed Jun 15 15:45:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9178877 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 96378604DB for ; Wed, 15 Jun 2016 15:48:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8484E27DCE for ; Wed, 15 Jun 2016 15:48:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 72C8827F07; Wed, 15 Jun 2016 15:48:25 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable 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 7D48B27DCE for ; Wed, 15 Jun 2016 15:48:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933121AbcFOPqH (ORCPT ); Wed, 15 Jun 2016 11:46:07 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:49402 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753648AbcFOPpM (ORCPT ); Wed, 15 Jun 2016 11:45:12 -0400 Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue102) with ESMTPA (Nemesis) id 0MXYso-1asjV2049u-00WZPW; Wed, 15 Jun 2016 17:44:30 +0200 From: Arnd Bergmann To: Michal Marek Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Arnd Bergmann Subject: [PATCH v2 06/11] ARM: don't include removed directories Date: Wed, 15 Jun 2016 17:45:48 +0200 Message-Id: <20160615154553.3177021-7-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160615154553.3177021-1-arnd@arndb.de> References: <20160615154553.3177021-1-arnd@arndb.de> X-Provags-ID: V03:K0:Mj8O3LntMENl3A12/FVldbt6BzDA6WXfrUx2dhxRzNF8Isedyy+ 6ZFr3SqEt5bjkYG3qRO36oN2obalr2p2hVSgMjmoSSXsHGXysFhpWFeUUdlcOYn0uF50R4z TYeRdNFMgmtUfvmLHY9Yv9aLYcdframSjyok+MOsbP0oynURqgCQWlXj3H1drD7tLIPLPvy Ceo8pcHhCE3A34nz525pQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:AX5xfv+aIMQ=:lO8Z/Qa9QmUnc5iLgKFUwU HBnyF0dwrP3CJXOp53xtMHZ2YBBivKb5kLOXd27zaUoDn1bxXR+x1woP4Hmlb2ehhEeiF5psA chtA9tBIVqftkvPP/IvUUKlXVHFPp49TrgG45ce+40CysLTx/hl2G+4iMZlCU9K9zpXIWW6xR 0Jfz5CslQSHUulmu1YSAL8awadoWeJqDqHkmxFD+wyuvmPppj1tTdsq8Vvs8eGSU7rPmW7mh7 XTxgwlfGFe/q9HHIsC2u0WUDJ16KRa0xgQrSR3vGoqRnED/A0hdo581ye96o1LFinwh5mTukt isYLs0OGmEgt8JDiwPrq/dgoLjhdqyP/Jh0Sd0xpy1ONpvu8pvwnnqXAR018rBeIUtExWQTzj HKS42X5Ts7Anwcy3+aBvqBE6Tajg0MGX5cA8MKINeaNDYgBQnAVqNQQkxyAauJHaWbUq1s0am qZKrYcoKn74xtsRRI0JFkCW6QBe6HoyL+gxcnrBBiB2jjd9WdPz9uXUN99NvpKRD55Lk1/qa5 OeqmVyZqPaXfe42DAaChEqO+ZPsWYIxVpvI7haDQsUsHqKmvt/0lh38y2u1FvvSlNS9Ky5hhY GNQkFDhgjV5Ar5NdX6Z0zkegElFAUpjki0pTuspyXL+qhGfGcHGuh64EJTcA4Q+YWuzoAANd7 zSnUYyTvE1O3X/fVbGfmmUni9c/o/IeibNKVB84TEjATF2Ui45LRMAuSaoOKEVR+AmJE= 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 Three platforms used to have header files in include/mach that are now all gone, but the removed directories are still being included, which leads to -Wmissing-include-dirs warnings. This removes the extra -I flags. Signed-off-by: Arnd Bergmann --- arch/arm/mach-mvebu/Makefile | 3 +-- arch/arm/mach-realview/Makefile | 3 +-- arch/arm/mach-s5pv210/Makefile | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-mvebu/Makefile b/arch/arm/mach-mvebu/Makefile index ecf9e0c3b107..568863e1513c 100644 --- a/arch/arm/mach-mvebu/Makefile +++ b/arch/arm/mach-mvebu/Makefile @@ -1,5 +1,4 @@ -ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \ - -I$(srctree)/arch/arm/plat-orion/include +ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-orion/include AFLAGS_coherency_ll.o := -Wa,-march=armv7-a CFLAGS_pmsu.o := -march=armv7-a diff --git a/arch/arm/mach-realview/Makefile b/arch/arm/mach-realview/Makefile index dae8d86ef4cc..404882130956 100644 --- a/arch/arm/mach-realview/Makefile +++ b/arch/arm/mach-realview/Makefile @@ -1,8 +1,7 @@ # # Makefile for the linux kernel. # -ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include \ - -I$(srctree)/arch/arm/plat-versatile/include +ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/plat-versatile/include obj-y := core.o obj-$(CONFIG_REALVIEW_DT) += realview-dt.o diff --git a/arch/arm/mach-s5pv210/Makefile b/arch/arm/mach-s5pv210/Makefile index 72b9e9671507..fa7fb716e388 100644 --- a/arch/arm/mach-s5pv210/Makefile +++ b/arch/arm/mach-s5pv210/Makefile @@ -5,7 +5,7 @@ # # Licensed under GPLv2 -ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include +ccflags-$(CONFIG_ARCH_MULTIPLATFORM) += -I$(srctree)/arch/arm/plat-samsung/include # Core