]> code.ossystems Code Review - meta-freescale.git/commitdiff
libsdl2: avoid basehash changes
authorAndré Draszik <git@andred.net>
Wed, 19 Sep 2018 13:35:49 +0000 (14:35 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 22 Sep 2018 03:15:37 +0000 (00:15 -0300)
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>
recipes-graphics/libsdl2/libsdl2_%.bbappend

index e41f19ca1f00e32a054518a55255f18f15e227db..5eecfea87557986754edc69c80e53bc83cd15e79 100644 (file)
@@ -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"