aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-01-19 00:18:32 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-19 17:24:52 +0000
commit3eb397fab6a5c5a86ac4eb30c5159f19e8ebf796 (patch)
tree7f4b2d3d913a917666b5faf88955f53ba538e8b3
parent726dbda396a49de0fa710e64218457915715a5d2 (diff)
downloadopenembedded-core-contrib-3eb397fab6a5c5a86ac4eb30c5159f19e8ebf796.tar.gz
recipetool: create: force GL libraries to virtual/*
We want to specify dependencies on virtual/* rather than whatever library is selected in the current configuration. (From OE-Core rev: e1ac0c45b27ded9962edaf34597f827d0b41ba82) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--scripts/lib/recipetool/create.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py
index dab917faac..1601a7f8c4 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'''