Re: [PATCH] drm/radeon: Add build directory to include path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2022-06-19 18:22, Ernst Sjöstrand wrote:
> Den sön 19 juni 2022 kl 00:20 skrev Masahiro Yamada <masahiroy@xxxxxxxxxx <mailto:masahiroy@xxxxxxxxxx>>:
> 
>     On Wed, Jun 15, 2022 at 5:35 PM Michel Dänzer
>     <michel.daenzer@xxxxxxxxxxx <mailto:michel.daenzer@xxxxxxxxxxx>> 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
>     > >> <michel.daenzer@xxxxxxxxxxx <mailto:michel.daenzer@xxxxxxxxxxx>> wrote:
>     > >>> On 2022-04-14 15:34, Alex Deucher wrote:
>     > >>>> On Thu, Apr 14, 2022 at 4:44 AM Christian König
>     > >>>> <ckoenig.leichtzumerken@xxxxxxxxx <mailto:ckoenig.leichtzumerken@xxxxxxxxx>> 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 <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



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux