summaryrefslogtreecommitdiffstats
path: root/classes/emgd-gl.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/emgd-gl.bbclass')
-rw-r--r--classes/emgd-gl.bbclass11
1 files changed, 0 insertions, 11 deletions
diff --git a/classes/emgd-gl.bbclass b/classes/emgd-gl.bbclass
deleted file mode 100644
index ef1df69..0000000
--- a/classes/emgd-gl.bbclass
+++ /dev/null
@@ -1,11 +0,0 @@
1# give a different PACKAGE_ARCH to the recipes involved with opengl
2python __anonymous () {
3 provides = set((d.getVar("PROVIDES", True) or "").split())
4 depends = set((d.getVar("DEPENDS", True) or "").split())
5
6 glp = set([ "virtual/libgles1", "virtual/libgles2", "virtual/egl", "virtual/mesa" , "virtual/libgl"])
7 if list(glp & (provides | depends)): # set union & intersection operations
8 # matched
9 d.appendVar("PACKAGE_ARCH", "${GLSUFFIX}")
10 return
11}