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: 9178833 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 88CF6604DB for ; Wed, 15 Jun 2016 15:45:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79C5327D4A for ; Wed, 15 Jun 2016 15:45:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6E97E27EED; Wed, 15 Jun 2016 15:45:47 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2ADAA27D4A for ; Wed, 15 Jun 2016 15:45:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E132A6E98B; Wed, 15 Jun 2016 15:45:42 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by gabe.freedesktop.org (Postfix) with ESMTPS id D9C916E983 for ; Wed, 15 Jun 2016 15:44:37 +0000 (UTC) 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 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= Cc: Arnd Bergmann , linux-kbuild@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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