[Buildroot] Adding kmscube support

Fabio Estevam festevam at gmail.com
Sat Jan 21 12:55:11 UTC 2017


On Sat, Jan 21, 2017 at 9:57 AM, Fabio Estevam <festevam at gmail.com> wrote:

> +# Autoreconf requires an m4 directory to exist
> +define KMSCUBE_PATCH_M4
> +       mkdir -p $(@D)/m4
> +endef
> +KMSCUBE_POST_PATCH_HOOKS += KMSCUBE_PATCH_M4

Now the following missing requirement is seen:

"checking for DRM... yes
checking for GBM... yes
checking for EGL... yes
checking for GLES2... no
configure: error: Package requirements (glesv2) were not met:

Package glesv2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glesv2.pc'
to the PKG_CONFIG_PATH environment variable
Package 'glesv2', required by 'world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLES2_CFLAGS
and GLES2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details. "

What would be the correct way to provide glesv2 in Buildroot?

Thanks


More information about the buildroot mailing list