]> code.ossystems Code Review - openembedded-core.git/commitdiff
recipetool: create: force GL libraries to virtual/*
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 18 Jan 2016 11:18:32 +0000 (00:18 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Jan 2016 16:35:38 +0000 (16:35 +0000)
We want to specify dependencies on virtual/* rather than whatever
library is selected in the current configuration.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create.py

index dab917faacaed2ecf8c53b86f2b0a9b4cc47e967..1601a7f8c4767a4baf985384167b21ca33b335eb 100644 (file)
@@ -84,6 +84,11 @@ class RecipeHandler(object):
                 else:
                     raise
 
+        # Some overrides - these should be mapped to the virtual
+        RecipeHandler.recipelibmap['GL'] = 'virtual/libgl'
+        RecipeHandler.recipelibmap['EGL'] = 'virtual/egl'
+        RecipeHandler.recipelibmap['GLESv2'] = 'virtual/libgles2'
+
     @staticmethod
     def load_headermap(d):
         '''Build up lib headerfile->recipe mapping'''