diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2023-01-13 14:36:14 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2023-01-25 16:21:24 +0100 |
commit | c2a60b6160aef638d9e095b6424021c30ab0e46e (patch) | |
tree | 4ce4ad70f862d180308037e2b2d08497cffe0614 /recipes-graphics | |
parent | ff6d6bf270614f6206696a7cc05ea400c9ff2afe (diff) |
libepoxy: configure for wayland only
Related-to: ELB-4978
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r-- | recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend b/recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend new file mode 100644 index 0000000..e4e53de --- /dev/null +++ b/recipes-graphics/libepoxy/libepoxy_1.5.%.bbappend @@ -0,0 +1,7 @@ +# Append EGL_CFLAGS to CFLAGS +PACKAGECONFIG:remove:am62xx = "x11" +CFLAGS:append:am62xx = " \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_API_FB', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-DWL_EGL_PLATFORM', '', d)} \ +" +PACKAGE_ARCH:am62xx = "${MACHINE_ARCH}" |