[OE-core] [PATCH 07/10] recipetool: create: force GL libraries to virtual/*
Paul Eggleton
paul.eggleton at linux.intel.com
Mon Jan 18 11:18:32 UTC 2016
We want to specify dependencies on virtual/* rather than whatever
library is selected in the current configuration.
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
scripts/lib/recipetool/create.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py
index dab917f..1601a7f 100644
--- a/scripts/lib/recipetool/create.py
+++ b/scripts/lib/recipetool/create.py
@@ -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'''
--
2.5.0
More information about the Openembedded-core
mailing list