summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland
diff options
context:
space:
mode:
authorFabio Berton <fabio.berton@ossystems.com.br>2018-01-26 13:54:42 -0200
committerOtavio Salvador <otavio@ossystems.com.br>2018-02-06 10:03:14 -0200
commit0296938d6316fe9d5b41d5a0ec8a2eb8200b7d3f (patch)
tree38173050b1532c82cd361ddefa38024c5f6ab2f9 /recipes-graphics/wayland
parentccc6fc6cfd001328228f7faee3bc0247f1a7d48d (diff)
downloadmeta-freescale-0296938d6316fe9d5b41d5a0ec8a2eb8200b7d3f.tar.gz
weston: Append EGL_CFLAGS to CFLAGS for imxgpu2d
When building weston for imxgpu2d machine, CFLAGS doesn't get EGL_CFLAGS value and cause the error bellow: | ../build/tmp/sysroots/imx6sl-warp/usr/include/EGL/eglvivante.h:266:2: error: #error "Platform not recognized" | #error "Platform not recognized" Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-graphics/wayland')
-rw-r--r--recipes-graphics/wayland/weston_2.0.0.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-graphics/wayland/weston_2.0.0.bbappend b/recipes-graphics/wayland/weston_2.0.0.bbappend
index 3b744e3d..7d0e589d 100644
--- a/recipes-graphics/wayland/weston_2.0.0.bbappend
+++ b/recipes-graphics/wayland/weston_2.0.0.bbappend
@@ -30,4 +30,7 @@ EXTRA_OECONF_append = "${IMX_EXTRA_OECONF_OPENGL}"
30 30
31PACKAGECONFIG_append_imxgpu3d = " cairo-glesv2" 31PACKAGECONFIG_append_imxgpu3d = " cairo-glesv2"
32 32
33# Append EGL_CFLAGS to CFLAGS for imxgpu2d
34CFLAGS_append_imxgpu2d = "-DLINUX -DEGL_API_FB -DWL_EGL_PLATFORM"
35
33RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-loginuid', '', d)}" 36RDEPENDS_${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-loginuid', '', d)}"