mesa: fix and enable out-of-tree builds
PATCH 1/1 mesa: fix and enable out-of-tree builds
One patch (submitted upstream) for when Gallium is enabled, and another (inappropriate for upstream) to fix out-of-tree builds with 0003-EGL-Mutate-NativeDisplayType-depending-on-config.
Signed-off-by Ross Burton <[email protected]>
--- meta/conf/distro/include/seperatebuilddir.inc | 2 +- .../mesa/0005-fix-out-of-tree-builds-gallium.patch | 42 +++++++++++++++++ .../mesa/mesa/0006-fix-out-of-tree-egl.patch | 48 ++++++++++++++++++++ meta/recipes-graphics/mesa/mesa_9.1.6.bb | 2 + meta/recipes-graphics/mesa/mesa_git.bb | 2 + 5 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-graphics/mesa/mesa/0005-fix-out-of-tree-builds-gallium.patch create mode 100644 meta/recipes-graphics/mesa/mesa/0006-fix-out-of-tree-egl.patch
meta/conf/distro/include/seperatebuilddir.inc +1 -1
@@ -440,7 +440,7 @@ B_pn-mc = "${SEPB}" B_pn-menu-cache = "${SEPB}" B_pn-mesa-demos = "${SEPB}" # src/mapi/mapi/stub.c:51:39: error: 'MAPI_TABLE_NUM_DYNAMIC' undeclared here (not in a function) -#B_pn-mesa-dri = "${SEPB}" +B_pn-mesa = "${SEPB}" B_pn-minicom = "${SEPB}" # Not automake, no external tree support #B_pn-mkelfimage = "${SEPB}"
meta/recipes-graphics/mesa/mesa/0005-fix-out-of-tree-builds-gallium.patch new file +42 -0
42 lines not on this page · raw message
meta/recipes-graphics/mesa/mesa/0006-fix-out-of-tree-egl.patch new file +48 -0
48 lines not on this page · raw message
meta/recipes-graphics/mesa/mesa_9.1.6.bb +2 -0
@@ -6,6 +6,8 @@ SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2 \ file://0003-EGL-Mutate-NativeDisplayType-depending-on-config.patch \ file://0004-glsl-fix-builtin_compiler-cross-compilation.patch \ file://0005-llvmpipe-remove-the-power-of-two-sizeof-struct-cmd_b.patch \ + file://0005-fix-out-of-tree-builds-gallium.patch \ + file://0006-fix-out-of-tree-egl.patch \ " SRC_URI[md5sum] = "443a2a352667294b53d56cb1a74114e9"
meta/recipes-graphics/mesa/mesa_git.bb +2 -0
@@ -13,6 +13,8 @@ SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git \ file://0002-pipe_loader_sw-include-xlib_sw_winsys.h-only-when-HA.patch \ file://0003-EGL-Mutate-NativeDisplayType-depending-on-config.patch \ file://0004-glsl-fix-builtin_compiler-cross-compilation.patch \ + file://0005-fix-out-of-tree-builds-gallium.patch \ + file://0006-fix-out-of-tree-egl.patch \ " S = "${WORKDIR}/git"
Signature · 1 line
1.7.10.4