[Buildroot] [PATCH 3/3 v5] odroid-mali: New Package

daggs daggs at gmx.com
Mon Jul 25 17:59:33 UTC 2016


Greetings
>
> Hello,
> 
> On Sun, 24 Jul 2016 19:35:06 +0300, Dagg Stompler wrote:
> > diff --git a/package/odroid-mali/Config.in b/package/odroid-mali/Config.in
> > new file mode 100644
> > index 0000000..a648f03
> > --- /dev/null
> > +++ b/package/odroid-mali/Config.in
> > @@ -0,0 +1,21 @@
> > +config BR2_PACKAGE_ODROID_MALI
> > +	bool "odroid-mali"
> > +	select BR2_PACKAGE_HAS_LIBEGL
> > +	select BR2_PACKAGE_HAS_LIBGLES
> > +	select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
> > +	select BR2_PACKAGE_FBSET
> 
> fbset is not used by odroid-mali, it's used by odroid-scripts, so this
> dependency should be in odroid-scripts. So I've dropped those two lines
> from here. Could you send a patch that adds the dependency to
> odroid-scripts?

you are correct, will send a new patch.

> 
> > +	select BR2_PACKAGE_ODROID_SCRIPTS
> 
> I've added a comment that indicates it's a runtime dependency.
> 
> > +	depends on BR2_TOOLCHAIN_USES_GLIBC
> 
> I've added a Config.in comment that helps the user to know that
> odroid-mali needs glibc.
> 
> > +	depends on BR2_aarch64 || BR2_arm
> 
> On ARM, the prebuilt libraries use the EABIhf ABI, so I've changed
> BR2_arm to BR2_ARM_EABIHF.
> 
> It's worth mentioning that for AArch64, this repo contains the OpenGL
> libraries for X11. If you have the opportunity to test them, it would
> be nice to add support for them.

I wanted to test it with kodi but 16 doesn't support aarch64.
there is a DDX driver for X which I intend to add as soon as I understand how to build it.

> 
> > +ifeq ($(BR2_aarch64),y)
> > +ODROID_MALI_LIBS_INSTALL_ARCH=mali_libs
> 
> I've changed this to:
> 
> ODROID_MALI_INSTALL_ARCH = mali_libs
> 
> I.e, simplified the name of the variable, and added spaces around the
> equal sign.
> 
> Applied with those changes. Thanks! 
> 
> Thomas

Dagg



More information about the buildroot mailing list