From 9de4ad1dc88ab1dd567a6d5981b578997d2371bb Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sat, 26 Dec 2015 16:19:31 +0100 Subject: [PATCH] mesa bbappend: enable gallium drivers and other bits Signed-off-by: Koen Kooi --- recipes-tweaks/mesa/mesa_%.bbappend | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes-tweaks/mesa/mesa_%.bbappend diff --git a/recipes-tweaks/mesa/mesa_%.bbappend b/recipes-tweaks/mesa/mesa_%.bbappend new file mode 100644 index 0000000..ab944d1 --- /dev/null +++ b/recipes-tweaks/mesa/mesa_%.bbappend @@ -0,0 +1,15 @@ +PACKAGECONFIG_x86-64 = " egl gles dri dri3 x11 xa r600 gallium gallium-llvm xvmc" + +GALLIUMDRIVERS_LLVM33 = "${@bb.utils.contains('PACKAGECONFIG', 'r600', 'r600', '', d)}" + +GALLIUMDRIVERS_append_armv7a = ",freedreno" +GALLIUMDRIVERS_append_aarch64 = ",freedreno" + +PACKAGECONFIG_append_armv7a = " gallium \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xa', '', d)} \ + " +PACKAGECONFIG_append_aarch64 = " gallium \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xa', '', d)} \ + " + +FILES_mesa-megadriver += "${libdir}/libXvMC*.so.*"