[Buildroot] [PATCH 1/3] ti-sgx-libgbm: new package

Einar Jón tolvupostur at gmail.com
Tue Jul 10 17:09:23 UTC 2018


Hello Bernd


On 9 July 2018 at 19:53, Bernd Kuhls <bernd.kuhls at t-online.de> wrote:
> Am Thu, 05 Jul 2018 08:57:53 +0200 schrieb Einar Jon Gunnarsson:
>
>> --- /dev/null
>> +++ b/package/ti-sgx-libgbm/Config.in
>> @@ -0,0 +1,9 @@
>> +config BR2_PACKAGE_TI_SGX_LIBGBM
>> +     bool "ti-sgx-libgbm"
>> +     depends on BR2_PACKAGE_TI_SGX_KM
>> +     select BR2_PACKAGE_WAYLAND
>> +     help
>> +       This package provides libgbm.so.2 for the
>> +       TI SGX implementation
>> +
>> +       https://git.ti.com/glsdk/libgbm
>
> a similar patch was posted two years ago:
> http://lists.busybox.net/pipermail/buildroot/2016-July/167443.html
>
> Back then Thomas wrote:
> "Is this libgbm a TI-specific implementation of the libgm available in
>  Mesa ? If that's the case, then it's going to be complicated to
>  package, as we would have two implementations of the same API."

This is indeed a TI-specific implementation of the libgm available in Mesa.
Since it is only available for a subset of ARM CPUs, and Mesa not
available on ARM, I don't see a big risk of conflicts.

>
> Working on the next bump of Kodi to v18 I needed to build mesa3d with
> libgbm only, no x11, no wayland. To do so I created a virtual package for
> libgbm which could be used by your package as well to solve the problem
> Thomas noted:

Interesting. This implementation of libgbm links to Wayland, and will
not run without it. X11 is not needed.

The virtual package makes sense.

-- 
Regards
Einar Jón

>
> https://github.com/bkuhls/buildroot/commit/
> af585ebdd2627980eda0581f99aa844c7292d4de
>
> https://github.com/bkuhls/buildroot/
> commit/92a0e96c32aac50a7e28eb0941463c21b119a727
>
> The whole code is still WIP and closely bound to my Kodi repo but you
> should get the idea ;)
>
> Regards, Bernd
>


More information about the buildroot mailing list