[OE-core] [PATCHv2] mesa: Make gl libraries RRECOMMEND mesa-megadriver

Jussi Kukkonen jussi.kukkonen at intel.com
Wed Nov 18 15:00:28 UTC 2015


This makes e.g. core-image-weston actually work out-of-the-box
on hardware that uses megadriver drivers.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
---

Ross pointed out that the part about mesa-gl was not actually true,
especially with regards to swrast: e.g. RPi still probably want it.
So I've removed the conditional bit: all mesa gl libraries now
RRECOMMEND megadriver.

This is force pushed to branch 'jku/weston'.

 meta/recipes-graphics/mesa/mesa.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 13a8b9d..424e8b7 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -114,7 +114,9 @@ python __anonymous() {
         d.appendVar("RREPLACES_" + fullp, pkgs)
         d.appendVar("RPROVIDES_" + fullp, pkgs)
         d.appendVar("RCONFLICTS_" + fullp, pkgs)
-        
+
+        d.appendVar("RRECOMMENDS_" + fullp, "mesa-megadriver")
+
         # For -dev, the first element is both the Debian and original name
         fullp += "-dev"
         pkgs = p[1] + "-dev"
-- 
2.1.4




More information about the Openembedded-core mailing list