[Buildroot] Adding kmscube support

Peter Korsgaard peter at korsgaard.com
Sat Jan 21 13:04:47 UTC 2017


>>>>> "Fabio" == Fabio Estevam <festevam at gmail.com> writes:

 > 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?

This is handled through the the BR2_PACKAGE_HAS_LIBGLES / libgles
virtual package (as we have several packages providing GL support).

See E.G. the efl or cairo packages for examples. You might also be
missing our pkg-config (add host-pkgconf to dependencies).

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list