]> code.ossystems Code Review - openembedded-core.git/commitdiff
libdrm: use RRECOMMENDS for libdrm-drivers
authorChristopher Larson <chris_larson@mentor.com>
Fri, 13 Dec 2013 14:50:10 +0000 (07:50 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Dec 2013 12:12:39 +0000 (12:12 +0000)
As libdrm enables modules automatically, based on what it needs / can build,
it's unlikely we'll *ever* get a situation where all the modules are emitted,
so libdrm-drivers, which depends on all of them, ends up being useless and
non-installable. Make it use rrecommends, so it only pulls in what we have.

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/drm/libdrm.inc

index 497220f1e2cbd7c1857ed056207665c5fc06803f..1b2ffeb8e790572995e34a8c530197fe02d89d82 100644 (file)
@@ -27,8 +27,8 @@ ALLOW_EMPTY_${PN}-drivers = "1"
 PACKAGES =+ "${PN}-tests ${PN}-drivers ${PN}-radeon ${PN}-nouveau ${PN}-omap \
              ${PN}-intel ${PN}-exynos ${PN}-kms"
 
-RDEPENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \
-                          ${PN}-exynos"
+RRECOMMENDS_${PN}-drivers = "${PN}-radeon ${PN}-nouveau ${PN}-omap ${PN}-intel \
+                             ${PN}-exynos"
 
 FILES_${PN}-tests = "${bindir}/dr* ${bindir}/mode* ${bindir}/*test"
 FILES_${PN}-radeon = "${libdir}/libdrm_radeon.so.*"