From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E1AEBC43334 for ; Mon, 20 Jun 2022 07:43:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id EDA5B10E1DF; Mon, 20 Jun 2022 07:43:01 +0000 (UTC) Received: from mout-p-201.mailbox.org (mout-p-201.mailbox.org [IPv6:2001:67c:2050:0:465::201]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5B87E10E1DF; Mon, 20 Jun 2022 07:43:00 +0000 (UTC) Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4LRM7h51Dcz9sSn; Mon, 20 Jun 2022 09:42:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1655710976; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9/qgr45ITIVfHRcxUnBcKXQY5EsInQrGn8ieAgke3WE=; b=FhaPeZhw32bb/rB32/Hkm08oEPs/Bd8HpHsU3YOhtvPzEIT9lSqkWK/Q3f8emY33jOXScM pz8Y04DyjS4VTuSoKr2R2ay2CAnYOCtdhlLACqKbFv901pK60QTNedB+38cGyu2+ipy4c4 tSY3Sjs4y2dqf84sF3U3v8I6UaKuYftyOiBBIPCBehNB6wLUQvpUYfn/EFWZZhXIKghPQL TMN3EvFVRupsm122XrTZpliHb/MrtsOQ1sbXQ0Vpryuqj7fWPLPaAW4TDwDVLZFfLYe+A9 7NqF3zVjoIRaL5bz7+wq7XKHyaCfoSmXmUkierInMFUP4yzOUZrkTtFXx1ojQA== Message-ID: <1ae832cb-5f02-273b-28f6-f8223b6b1dc8@mailbox.org> Date: Mon, 20 Jun 2022 09:42:55 +0200 MIME-Version: 1.0 Subject: Re: [PATCH] drm/radeon: Add build directory to include path Content-Language: en-CA To: =?UTF-8?Q?Ernst_Sj=c3=b6strand?= , Masahiro Yamada References: <20220413161450.1854370-1-michel@daenzer.net> <8beac4f5-f7e8-31ab-bbf3-36a917979bfc@mailbox.org> From: =?UTF-8?Q?Michel_D=c3=a4nzer?= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MBO-RS-ID: c6ee8b4d7a477595cc6 X-MBO-RS-META: kwp764ou4jm67onfeixbtbq4ztgmuuqo X-Rspamd-Queue-Id: 4LRM7h51Dcz9sSn X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?Q?Christian_K=c3=b6nig?= , Xinhui Pan , Maling list - DRI developers , Alex Deucher , amd-gfx list , =?UTF-8?Q?Christian_K=c3=b6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 2022-06-19 18:22, Ernst Sjöstrand wrote: > Den sön 19 juni 2022 kl 00:20 skrev Masahiro Yamada >: > > On Wed, Jun 15, 2022 at 5:35 PM Michel Dänzer > > wrote: > > > > On 2022-04-14 18:57, Michel Dänzer wrote: > > > On 2022-04-14 17:04, Masahiro Yamada wrote: > > >> On Thu, Apr 14, 2022 at 10:50 PM Michel Dänzer > > >> > wrote: > > >>> On 2022-04-14 15:34, Alex Deucher wrote: > > >>>> On Thu, Apr 14, 2022 at 4:44 AM Christian König > > >>>> > wrote: > > >>>>> Am 14.04.22 um 09:37 schrieb Michel Dänzer: > > >>>>>> > > >>>>>>   make -C build-amd64 M=drivers/gpu/drm > > >> > > >> > > >> Maybe > > >> > > >>         make  O=build-arm64   drivers/gpu/drm/ > > >> > > >> is the way you were searching for. > > >> > > >> It builds only drivers/gpu/drm/ > > >> in the separate directory. > > > > > > Indeed, that works. > > > > I've come to realize that this doesn't produce the actual *.ko modules though. Is there a trick for building the modules, but only under drivers/gpu/drm/ ? > > > > > > -- > > Earthling Michel Dänzer            |                  https://redhat.com > > Libre software enthusiast          |         Mesa and Xwayland developer > > > No. > There is no way to build *.ko > only under a specific directory. > > > Doesn't "make modules M=drivers/gpu/drm/" do that? That again hits the compile error the patch was supposed to address. Apparently M= isn't for this but for building out-of-tree modules. -- Earthling Michel Dänzer | https://redhat.com Libre software enthusiast | Mesa and Xwayland developer