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>
This commit is contained in:
Paul Eggleton 2016-01-19 00:18:32 +13:00 committed by Richard Purdie
parent 726dbda396
commit 3eb397fab6
1 changed files with 5 additions and 0 deletions

View 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'''