From: Thomas Petazzoni Date: Sat, 17 Sep 2016 19:11:51 +0200 Subject: [Buildroot] [PATCH 3/4] package/efl: enable libdrm support In-Reply-To: <1473282523-12796-3-git-send-email-romain.naour@gmail.com> References: <1473282523-12796-1-git-send-email-romain.naour@gmail.com> <1473282523-12796-3-git-send-email-romain.naour@gmail.com> Message-ID: <20160917191151.5e0f0f42@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello, On Wed, 7 Sep 2016 23:08:42 +0200, Romain Naour wrote: > This support is required for Enlightenment wayland support [1] which > will be added in a follow up patch. > > As stated in configure.ac, libdrm support needs libdrm, elput, > libxkbcommon and libgbm. > > libgbm is only provided by mesa3d package when OpenGL EGL support is > enabled, so add a direct dependency on mesa3d. So, on which platform have you tested that? I'm still a bit uneasy with this libgbm stuff provided only by mesa3d. Does this means that other OpenGL ES implementations are not suitable? > Rework the libxkbcommon dependency since it's now required for > ecore-wayland and libdrm support. And elput (see earlier patch). > +config BR2_PACKAGE_EFL_DRM > + bool "Evas DRM Engine" > + depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm > + depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # require libgbm from mesa3d > + depends on BR2_PACKAGE_EFL_ELPUT Why do you have a "depends on" for this rather than a "select" ? Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com