summaryrefslogtreecommitdiff
path: root/scripts/lib
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 16:35:38 +0000
commite1ac0c45b27ded9962edaf34597f827d0b41ba82 (patch)
tree9bf144510d27b4940cb7f60cdaad3ecd2eb80482 /scripts/lib
parent40c10d998b90dd59c6d36c28f8ba11ec598bfa0f (diff)
downloadopenembedded-core-e1ac0c45b27ded9962edaf34597f827d0b41ba82.tar.gz
openembedded-core-e1ac0c45b27ded9962edaf34597f827d0b41ba82.tar.bz2
openembedded-core-e1ac0c45b27ded9962edaf34597f827d0b41ba82.zip
recipetool: create: force GL libraries to virtual/*
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>
Diffstat (limited to 'scripts/lib')
-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'''