From patchwork Thu Mar 15 15:37:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10284799 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 CFFDB6061F for ; Thu, 15 Mar 2018 15:37:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C0BB428A5C for ; Thu, 15 Mar 2018 15:37:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B520E28AAD; Thu, 15 Mar 2018 15:37:41 +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]) (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 50C7B28AB3 for ; Thu, 15 Mar 2018 15:37:41 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8D2206E8F2; Thu, 15 Mar 2018 15:37:38 +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.74]) by gabe.freedesktop.org (Postfix) with ESMTPS id 13ED46E8F2 for ; Thu, 15 Mar 2018 15:37:36 +0000 (UTC) Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue105 [212.227.15.145]) with ESMTPA (Nemesis) id 0Lcg0l-1eFDxs2YTf-00kBhk; Thu, 15 Mar 2018 16:37:31 +0100 From: Arnd Bergmann To: Laurent Pinchart Subject: [PATCH] [RFC] drm: rcar-du: keep temporary dtb files around during build Date: Thu, 15 Mar 2018 16:37:08 +0100 Message-Id: <20180315153730.3798004-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:qEtmfOnqvmjtpQLBMWmKxtMsGEFcUPj/bNLzLfxjiUwbCkKIjjE bXkqHY+DdbRS5htn+eQzD2Lrvk0g4WrJ+mJf4JAx9aOrWBVk1FEcIdu2BRHwf05fT4SAmLp 7gClbJXevL1gikoJ0EPY7olTjNi2qQ8wQpUEoTfGhPF5cbqH3IvpigFHIUn6qEvKmk21tf0 ImBWNb6dIvru5Glikbp4Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:u5wXBL6WzYw=:Waqvkps3M0gVoeLBbceuHL STpCMXhWQuMCWIoHcxBGVdMNB7l9w47EeO7/KToy75WDxlANOA2pEbCHtd2tY4wfT4M1egNnC 2owZ5QyveCHGtz+pEHupxvgdc9L7j95s1R8Ez2sHirmnckYDndYDO+Q1zyhvoz+1MG5EDStYa syz7pPnUHJuIH5JoYqqj/Bko+rKEgm6cxNQ4z/WwGAZ9SEwiysk7lJ2V5GUwysNHDKM/u/fi2 zout41ip2KQ9RQxkODus0ocBXtDKBHjLx2czWq9hBPyeFZ1bwn8Mf5CX1tGbOIV/zmpiX4u4e pBpjjuqgE+lo3jzhMjydtHSzHOW53PSJc310q11bXgAOE/ZmNn+aaAl8uv3vOeAmikRe5iOXO AGrebgIr8vxUUA4oAO0mrsJ//EjRibmcdACxg23TCTSQtNtw3IEjFJEY+2QiWTAiu0p8F6IKZ XyquxanN/2K85U1KiV1LmY1Ot9xCD/9QsZH2PXR+s4+R59PO3pPZFspP/hxzQmpOjbvDqNveV 1rNRksctz5zA9zwAjHPS1ySCgkiMXMzwExy3QsBXt7PFGpF+X/kqildJiCiMjEKsvl77N2b9j 5dhwQfUstRmBI3ToUOk4/rXDNSbYmO4eYTCTt0kKdo1lcktnGFVQqxUI8+u/iu2VgXU8AICwp T5RlG/foGIC9EV10Ja2loWKzM3yCiIfnJneeBrJRtegaWX2zaXZKiv11Cv9ObvCkEc0yCZ7Xo mbap15k2Ud+NVL0LZzjMAvRsGgyDBm4FrAuFng== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Niklas=20S=C3=B6derlund?= , Arnd Bergmann , David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, Frank Rowand MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The *.dtb and *.dtb.S files get removed by 'make' during the build process, and later seem to be missed during the 'modpost' stage: rm drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7795.dtb drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7791.dtb drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7791.dtb.S drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7795.dtb.S drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7790.dtb.S drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7793.dtb drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7796.dtb drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7790.dtb drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7796.dtb.S drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7793.dtb.S WARNING: could not open drivers/gpu/drm/rcar-du/rcar_du_of_lvds_r8a7790.dtb.S: No such file or directory As a workaround, this adds all those files to the 'extra-y' target list, but that's really ugly. Any ideas for a better fix? Fixes: 81c0e3dd8292 ("drm: rcar-du: Fix legacy DT to create LVDS encoder nodes") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/rcar-du/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/drivers/gpu/drm/rcar-du/Makefile b/drivers/gpu/drm/rcar-du/Makefile index 3e58ed93d5b1..e5fc6ec0b8cc 100644 --- a/drivers/gpu/drm/rcar-du/Makefile +++ b/drivers/gpu/drm/rcar-du/Makefile @@ -12,6 +12,21 @@ rcar-du-drm-$(CONFIG_DRM_RCAR_LVDS) += rcar_du_of.o \ rcar_du_of_lvds_r8a7793.dtb.o \ rcar_du_of_lvds_r8a7795.dtb.o \ rcar_du_of_lvds_r8a7796.dtb.o + +extra-y += rcar_du_of_lvds_r8a7790.dtb \ + rcar_du_of_lvds_r8a7790.dtb \ + rcar_du_of_lvds_r8a7791.dtb \ + rcar_du_of_lvds_r8a7793.dtb \ + rcar_du_of_lvds_r8a7795.dtb \ + rcar_du_of_lvds_r8a7796.dtb + +extra-y += rcar_du_of_lvds_r8a7790.dtb.S \ + rcar_du_of_lvds_r8a7790.dtb.S \ + rcar_du_of_lvds_r8a7791.dtb.S \ + rcar_du_of_lvds_r8a7793.dtb.S \ + rcar_du_of_lvds_r8a7795.dtb.S \ + rcar_du_of_lvds_r8a7796.dtb.S + rcar-du-drm-$(CONFIG_DRM_RCAR_VSP) += rcar_du_vsp.o obj-$(CONFIG_DRM_RCAR_DU) += rcar-du-drm.o