summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2018-09-19 14:35:49 +0100
committerOtavio Salvador <otavio@ossystems.com.br>2018-09-22 00:15:37 -0300
commitcfd4db41b60626ee6dbe10c6116317b136892cc2 (patch)
treece0c682edddf87d8cdd9afe030cea7a7e51b85d7 /recipes-graphics
parent29e68a871824987926dab6b643aeda4d7945d500 (diff)
downloadmeta-freescale-cfd4db41b60626ee6dbe10c6116317b136892cc2.tar.gz
libsdl2: avoid basehash changes
When adding meta-freescale, the sstate basehash of libsdl2 changes because EXTRA_OECONF_IMX is appended to EXTRA_OECONF unconditionally, causing EXTRA_OECONF to now depend on EXTRA_OECONF_IMX, invalidating the sstate. This is particularly annoying for the native flavour of this recipe, because qemu-native depends on libsdl2-native, causing a massive rebuild of a lot of packages for no good reason, preventing efficient sstate re-use across different machines. Just drop EXTRA_OECONF_IMX and append to EXTRA_OECONF using variable overrides directly. Signed-off-by: André Draszik <git@andred.net> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/libsdl2/libsdl2_%.bbappend6
1 files changed, 1 insertions, 5 deletions
diff --git a/recipes-graphics/libsdl2/libsdl2_%.bbappend b/recipes-graphics/libsdl2/libsdl2_%.bbappend
index e41f19ca..5eecfea8 100644
--- a/recipes-graphics/libsdl2/libsdl2_%.bbappend
+++ b/recipes-graphics/libsdl2/libsdl2_%.bbappend
@@ -1,7 +1,3 @@
1EXTRA_OECONF_IMX = ""
2
3# what vivante driver does libsdl2 mean? Anyway it fails with missing functions as 1# what vivante driver does libsdl2 mean? Anyway it fails with missing functions as
4# VIVANTE_Create VIVANTE_GLES_GetProcAddress VIVANTE_GLES_UnloadLibrary ... 2# VIVANTE_Create VIVANTE_GLES_GetProcAddress VIVANTE_GLES_UnloadLibrary ...
5EXTRA_OECONF_IMX_imxgpu2d = "--disable-video-vivante" 3EXTRA_OECONF_append_imxgpu2d = " --disable-video-vivante"
6
7EXTRA_OECONF_append = " ${EXTRA_OECONF_IMX}"