Skip to contentSkip to conversation

libsdl2: avoid basehash changes

PATCH New André Draszik 1 participant 1 message Sep 19, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 recipes-graphics/libsdl2/libsdl2_%.bbappend | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
recipes-graphics/libsdl2/libsdl2_%.bbappend +1 -5
index e41f19ca..5eecfea8 100644
@@ -1,7 +1,3 @@
-EXTRA_OECONF_IMX          = ""
-
 # what vivante driver does libsdl2 mean? Anyway it fails with missing functions as
 # VIVANTE_Create VIVANTE_GLES_GetProcAddress VIVANTE_GLES_UnloadLibrary ...
-EXTRA_OECONF_IMX_imxgpu2d = "--disable-video-vivante"
-
-EXTRA_OECONF_append       = " ${EXTRA_OECONF_IMX}"
+EXTRA_OECONF_append_imxgpu2d = " --disable-video-vivante"
Signature · 1 line
2.19.0