From patchwork Wed Jun 15 15:45:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9178811 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 78216604DB for ; Wed, 15 Jun 2016 15:44:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 68E8927BFF for ; Wed, 15 Jun 2016 15:44:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5DEAF27DA4; Wed, 15 Jun 2016 15:44: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=-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 DD21227BFF for ; Wed, 15 Jun 2016 15:44:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4533D6E982; Wed, 15 Jun 2016 15:44:39 +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.17.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id 350206E141 for ; Wed, 15 Jun 2016 15:44:36 +0000 (UTC) Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue102) with ESMTPA (Nemesis) id 0MF3Up-1bBEmr2fyV-00GI91; Wed, 15 Jun 2016 17:44:30 +0200 From: Arnd Bergmann To: Michal Marek Subject: [PATCH v2 08/11] drm: amd: remove broken include path Date: Wed, 15 Jun 2016 17:45:50 +0200 Message-Id: <20160615154553.3177021-9-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:3Th7YIN6GIcaykgX55CeDx7hA99myJGfwfmpaOk4fOuBPRuZlGS aHWhq3Cwkk961m1YLJ0S/41EK31VXqemvpVRofXxr/uJDkgYfg/H32IcDFGteIfszQYu/DI CuinEO1RpW5dQaBMHDlN7K/cSg4pp7902gzAyLrHnRuvu/TrMG9mCdLVIdFTronhh1wClMx ULlJGAVY5fIcwTHV8VIQg== X-UI-Out-Filterresults: notjunk:1; V01:K0:4GJcfuPKjx8=:2AJSYDRlOojcvYOM9EUPMn dJgJ0GsVpbuINrZ9DHia69x3Bdx5FjUrsFWCVId6vKr31/uwWVoPZX1ae+BDThkXLilF3cssE NQz4WmOG8OVG2ZlKpiTNhOU8ScHEa0kNJjLUs6g29dzfD5HT2zxVVG8wbSjYFuENHsfHsGtL2 Sznd45fVj+UskbaLnLM9HaTQMXjp7exBJdNQF87ANAy7B9ACZ6fE79aSqiNzoLcMnBaqTKuxC 5GWp2rsjmN3DOWsZWsLCX8CHGhyBRZJ/xPf9lhGJssYoHR/TYH1CGemh+2QrFuNIIxLo0EkxU mXEDAyQNS/CzeYLqF380hAA0yaaUZP5vuVe2vX4QvHIsf+s0dqYzRbzzL7c5OXFiTOFGpBZzz AQDjqf5IK/EOtT27Pp+evBR9HIykh08B9whNlTvD5TpMY5VivsI/zjc8SN3bX9ZxYY1Gx5Mp8 2gl4OnPaTDoNASGeh8PWNHrk73HTSkaUiOkwuTBrJtxiqnTn3CKEkavR25K28EOFCVclkgQqB 7+CRuEhj0uUMtY5YVQIVSmsJBrCwWl53KjLO6Gf6lssdOtW4v+/FhWMGAlar5nKsEOs4LESRJ uOIoy3jSFQRPUbTLbrzSAJEl6jWxfRMeVoHGed4s6rLeVE1w+pk5PankNzDEih+AhnTMhkfI3 SJmZHrLnCfl8GYj0rd4W4MsQTV6Cm8HOXwia6YZOJzzDL0dxTRMmonmlOc72tTPt5VOQ= 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 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 --- 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