From patchwork Tue Mar 14 21:27:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9624559 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 954B660244 for ; Tue, 14 Mar 2017 21:27:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 85AC5284C2 for ; Tue, 14 Mar 2017 21:27:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 776912857B; Tue, 14 Mar 2017 21:27:43 +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=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 07A3C284C2 for ; Tue, 14 Mar 2017 21:27:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id ADC8A89F9F; Tue, 14 Mar 2017 21:27:41 +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 [212.227.126.134]) by gabe.freedesktop.org (Postfix) with ESMTPS id E469489F9F; Tue, 14 Mar 2017 21:27:39 +0000 (UTC) Received: from wuerfel.lan ([78.42.17.5]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.129]) with ESMTPA (Nemesis) id 0MURVP-1cfpMD0GwN-00RINg; Tue, 14 Mar 2017 22:27:34 +0100 From: Arnd Bergmann To: Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie Subject: [RESEND PATCH] drm: amd: remove broken include path Date: Tue, 14 Mar 2017 22:27:11 +0100 Message-Id: <20170314212727.3647574-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:aQZ3V9hiKil3rEa3j2og7ct6ExrRmMZK6+QL4CDJhEQzKSnWjat HSfEXPx8V/xTAMKjycXMpTBMAEcq/v8M6/S4h0GMLKM72dUw841AedVNgiFwUFFRgIGXsHB TvmisvaDeSUzLhKs4fURzDanCBXsMkXvxo7FymsNbTwcHd3SK+/+RxF1tQpdU0/06HwECn5 w3ITQ6Gxft0yETukO4lDg== X-UI-Out-Filterresults: notjunk:1; V01:K0:V0w2g/+ghFI=:4iYQiB3eOQzibjA1pDkkVx 4UuA0tbleAs8f1qzDG3dSwggG9UyatLvbtJkcaGTB16lZ5gd4DYSxJC6HdUi3wwsrYxWVFRs/ 9NSK7xoB1DJsXmYtIA2vtPsjEXAiNk6liEluRcL6Vp0PBuSXPQgoPQXSCNeXH20Xnz7q2PreD FYWUZkRnRzpEFnETgr0/p/ujsTGtNdNAb7TXkzQW8nWXqeS1urc+bmejqwYJbAsXYQfNuD40D 38pYNTnl2MntXRWVdsj3SuDq2sWuBEdBIUvFKSyj5xcEt8Kqp0yCTY8O1x5qg9niiEn9n6bm0 rsMpaS9DGbQyRsWfDl7NFOJcResS/Ub2gw0ll29Vtp5fRjUVZTCDyT6kfLD4gf2xvvGwE72CX OHHD90MIDssYAQosyNfneC+8irYYMHWYG3m+OpyybodNmuhx815v3N1Z86B13P/BMDuzZ7GeS mTWL/ntFBo5NqGGuRgq05E8KytdkctNx3e6puTrXiBlwyfTlHqdb/p4pC+uQvY2kiGLLm4EWM 5RIZYh+cOz2sLSbuNt1Ncyd215uLXPmLXu/zrepwwNRsSry8LOP79KouNCg01uga54aCxISN5 nO0CnIBYYc7zrcXNICZRUkFYzkmQkZoW8BPDFZFrJyH4C3sCFQl7bzU/UnWxOauYv3F3dq1U1 8aA1ImQNbsETD9TQAelOLXlCT6TnkluJfl0BlyTWa9t6wT4dGG+2T5iYoC3BbjOy73k0= Cc: dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, Arnd Bergmann , linux-kernel@vger.kernel.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 The AMD ACP driver adds "-I../acp -I../acp/include" to the gcc command line, which makes no sense, since these are evaluated relative to the build directory. When we build with "make W=1", they instead cause a warning: cc1: error: ../acp/: No such file or directory [-Werror=missing-include-dirs] cc1: error: ../acp/include: No such file or directory [-Werror=missing-include-dirs] cc1: all warnings being treated as errors ../scripts/Makefile.build:289: recipe for target 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.o' failed ../scripts/Makefile.build:289: recipe for target 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.o' failed ../scripts/Makefile.build:289: recipe for target 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.o' failed This removes the subdir-ccflags variable that evidently did not serve any purpose here. Signed-off-by: Arnd Bergmann --- Originally submitted in June 2016. All other patches for this warning got merged, once this gets in we can turn on the warning flag for everyone. --- drivers/gpu/drm/amd/acp/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/acp/Makefile b/drivers/gpu/drm/amd/acp/Makefile index 8363cb57915b..8a08e81ee90d 100644 --- a/drivers/gpu/drm/amd/acp/Makefile +++ b/drivers/gpu/drm/amd/acp/Makefile @@ -3,6 +3,4 @@ # of AMDSOC/AMDGPU drm driver. # It provides the HW control for ACP related functionalities. -subdir-ccflags-y += -I$(AMDACPPATH)/ -I$(AMDACPPATH)/include - AMD_ACP_FILES := $(AMDACPPATH)/acp_hw.o