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 A7867C43334 for ; Sun, 19 Jun 2022 16:22:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4765610ED52; Sun, 19 Jun 2022 16:22:22 +0000 (UTC) Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8B57310E930; Sun, 19 Jun 2022 16:22:20 +0000 (UTC) Received: by mail-io1-xd2c.google.com with SMTP id s17so2690360iob.7; Sun, 19 Jun 2022 09:22:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CMHs0PS1TFBPLNKbKLIzdp6HeUcQ1Ge+Te9ys5p3It8=; b=SgikfJAKmKo1X6VV7pStkhyBBsZtzkZzzEWgWW+Rkm+o+JdmgIW7QzmfvNM1NJLBBR jUAlioO70GBNpe23pPnTOOQiJ2SMf3VuniioAgJD5vxEosSBheAy2rCjt1mGnTLyZ4ko PGjVUtiPWv8bnTpwP160cEfjcYsGxze58VY17yn34h8dBbofPAQPXGfecFjgfxTPRBVz fosef/Qz6zD/py1qZrR8Y5zK+HK0mHWC2Z3NNEG46Y45AD9ix1ghV23cTt7sl/2dyvbo PVTwmIm8G/j4Z8wMYZRb1/XYLujlAORSuh1bh4eXO0tjlVtTA3205FTkaCAV0uxcfpx4 XFLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CMHs0PS1TFBPLNKbKLIzdp6HeUcQ1Ge+Te9ys5p3It8=; b=30Ssp325Rw3gTWUVuW8hayYGUrhHZejFEES1W1xo0LZ2kqHnf2af42ivvj13V0azWi 4PGwRNijqWVncCFKdSpOY/xv3f2h5vG9S+nR3EnV9t5EkWMMd9hQCuv2YvBe+3C+BIMq Esv8berklB6vTB6B6ZSNsrb2tgT5e7mxmuKTbNNAH6XssIewiaBN/8tuBwZRJ6eHb5+D P58lyetQHXYaCq+5lbHyl+ZVjoMywR1mMD96TSsS5q4AdLE5UA820aQodEVnTyl9S5Sz KHqoxQQAlzzgtCvK+Gj9XTQpgoZkpihq3J2429sxH/RaBjN398FVVb8vWXMgRpscb5Ny PqVw== X-Gm-Message-State: AJIora8yxE8Tq8UDm0m+sNmkd7VkOCtVCf74wX+uBeFjYgnbpgEyPah3 5kYI/2dXop5RvrX/hV4uhkVrxjCRnkK0CEzieis= X-Google-Smtp-Source: AGRyM1tTZVYVRLk06XMNcTKwfKDWGhutVawExdvT9JxBnyjNeoBJmXowQmrekxoWCJWlce5+4uvh4ZtFqKMLAOxDFX4= X-Received: by 2002:a02:aa92:0:b0:331:c856:fe69 with SMTP id u18-20020a02aa92000000b00331c856fe69mr10212075jai.187.1655655739845; Sun, 19 Jun 2022 09:22:19 -0700 (PDT) MIME-Version: 1.0 References: <20220413161450.1854370-1-michel@daenzer.net> <8beac4f5-f7e8-31ab-bbf3-36a917979bfc@mailbox.org> In-Reply-To: From: =?UTF-8?Q?Ernst_Sj=C3=B6strand?= Date: Sun, 19 Jun 2022 18:22:09 +0200 Message-ID: Subject: Re: [PATCH] drm/radeon: Add build directory to include path To: Masahiro Yamada Content-Type: multipart/alternative; boundary="0000000000003e727f05e1cf647c" 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?Michel_D=C3=A4nzer?= , =?UTF-8?Q?Christian_K=C3=B6nig?= , Xinhui Pan , amd-gfx list , Maling list - DRI developers , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --0000000000003e727f05e1cf647c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Den s=C3=B6n 19 juni 2022 kl 00:20 skrev Masahiro Yamada : > On Wed, Jun 15, 2022 at 5:35 PM Michel D=C3=A4nzer > wrote: > > > > On 2022-04-14 18:57, Michel D=C3=A4nzer wrote: > > > On 2022-04-14 17:04, Masahiro Yamada wrote: > > >> On Thu, Apr 14, 2022 at 10:50 PM Michel D=C3=A4nzer > > >> wrote: > > >>> On 2022-04-14 15:34, Alex Deucher wrote: > > >>>> On Thu, Apr 14, 2022 at 4:44 AM Christian K=C3=B6nig > > >>>> wrote: > > >>>>> Am 14.04.22 um 09:37 schrieb Michel D=C3=A4nzer: > > >>>>>> > > >>>>>> make -C build-amd64 M=3Ddrivers/gpu/drm > > >> > > >> > > >> Maybe > > >> > > >> make O=3Dbuild-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=C3=A4nzer | https://redh= at.com > > Libre software enthusiast | Mesa and Xwayland develope= r > > > No. > There is no way to build *.ko > only under a specific directory. > Doesn't "make modules M=3Ddrivers/gpu/drm/" do that? --0000000000003e727f05e1cf647c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Den s=C3=B6n 19 juni 2022 kl 00:20 skrev Masahiro Yamada &= lt;masahiroy@kernel.org>:
On Wed, Jun 15, 2022 at 5:35 PM Michel D=C3=A4nzer
<michel.= daenzer@mailbox.org> wrote:
>
> On 2022-04-14 18:57, Michel D=C3=A4nzer wrote:
> > On 2022-04-14 17:04, Masahiro Yamada wrote:
> >> On Thu, Apr 14, 2022 at 10:50 PM Michel D=C3=A4nzer
> >> <michel.daenzer@mailbox.org> wrote:
> >>> On 2022-04-14 15:34, Alex Deucher wrote:
> >>>> On Thu, Apr 14, 2022 at 4:44 AM Christian K=C3=B6nig<= br> > >>>> <ckoenig.leichtzumerken@gmail.com> wrote:
> >>>>> Am 14.04.22 um 09:37 schrieb Michel D=C3=A4nzer:<= br> > >>>>>>
> >>>>>>=C2=A0 =C2=A0make -C build-amd64 M=3Ddrivers/g= pu/drm
> >>
> >>
> >> Maybe
> >>
> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0make=C2=A0 O=3Dbuild-arm64= =C2=A0 =C2=A0drivers/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=C3=A4nzer=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 https://redhat.com=
> Libre software enthusiast=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0Mesa and Xwayland developer


No.
There is no way to build *.ko
only under a specific directory.

Doesn&#= 39;t "make modules M=3Ddrivers/gpu/drm/" do that?
--0000000000003e727f05e1cf647c--