diff options
3 files changed, 1 insertions, 48 deletions
diff --git a/meta/recipes-graphics/mesa/files/0001-Makefile.vulkan.am-explictly-add-lib-expat-to-intel-.patch b/meta/recipes-graphics/mesa/files/0001-Makefile.vulkan.am-explictly-add-lib-expat-to-intel-.patch deleted file mode 100644 index 3529f493e7..0000000000 --- a/meta/recipes-graphics/mesa/files/0001-Makefile.vulkan.am-explictly-add-lib-expat-to-intel-.patch +++ /dev/null | |||
| @@ -1,46 +0,0 @@ | |||
| 1 | From b514366df767da9acf991567bbee3eaa0c4ddaa6 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 3 | Date: Wed, 11 Oct 2017 15:40:42 +0800 | ||
| 4 | Subject: [PATCH 1/8] Makefile.vulkan.am: explictly add lib expat to intel | ||
| 5 | libvulkan's lib depends | ||
| 6 | Organization: O.S. Systems Software LTDA. | ||
| 7 | |||
| 8 | While built with "-fvisibility=default" | ||
| 9 | ... | ||
| 10 | |i586-oe-linux-gcc ... -fvisibility=default ... -o common/.libs/common_libintel_common_la-gen_decoder.o | ||
| 11 | ... | ||
| 12 | |||
| 13 | It triggered the failure | ||
| 14 | ... | ||
| 15 | |i586-oe-linux-g++ ... common/.libs/libintel_common.a ... -o vulkan/.libs/libvulkan_intel.so | ||
| 16 | |common/.libs/libintel_common.a(common_libintel_common_la-gen_decoder.o): | ||
| 17 | |In function `start_element': | ||
| 18 | |/usr/src/debug/mesa/2_17.1.7-r0/mesa-17.1.7/src/intel/common/gen_decoder.c:371: | ||
| 19 | undefined reference to `XML_GetCurrentLineNumber' | ||
| 20 | ... | ||
| 21 | |||
| 22 | explictly add EXPAT_LIBS to intel's VULKAN_LIB_DEPS | ||
| 23 | |||
| 24 | Upstream-Status: Accepted | ||
| 25 | https://cgit.freedesktop.org/mesa/mesa/commit/?id=05fc62d89f59ce19a18bfd4e63a09624910d6caf | ||
| 26 | |||
| 27 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 28 | --- | ||
| 29 | src/intel/Makefile.vulkan.am | 1 + | ||
| 30 | 1 file changed, 1 insertion(+) | ||
| 31 | |||
| 32 | diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am | ||
| 33 | index 4125cb205a..356c4f8452 100644 | ||
| 34 | --- a/src/intel/Makefile.vulkan.am | ||
| 35 | +++ b/src/intel/Makefile.vulkan.am | ||
| 36 | @@ -161,6 +161,7 @@ VULKAN_LIB_DEPS = \ | ||
| 37 | $(LIBDRM_LIBS) \ | ||
| 38 | $(PTHREAD_LIBS) \ | ||
| 39 | $(DLOPEN_LIBS) \ | ||
| 40 | + $(EXPAT_LIBS) \ | ||
| 41 | -lm | ||
| 42 | |||
| 43 | if HAVE_PLATFORM_ANDROID | ||
| 44 | -- | ||
| 45 | 2.18.0 | ||
| 46 | |||
diff --git a/meta/recipes-graphics/mesa/files/0007-dri-i965-Add-missing-time.h-include.patch b/meta/recipes-graphics/mesa/files/0007-dri-i965-Add-missing-time.h-include.patch index e559027c3d..5b55b8a1fd 100644 --- a/meta/recipes-graphics/mesa/files/0007-dri-i965-Add-missing-time.h-include.patch +++ b/meta/recipes-graphics/mesa/files/0007-dri-i965-Add-missing-time.h-include.patch | |||
| @@ -13,7 +13,7 @@ This fixes a build error when using musl: | |||
| 13 | | ^~~~~~ | 13 | | ^~~~~~ |
| 14 | `---- | 14 | `---- |
| 15 | 15 | ||
| 16 | Upstream-Status: Pending | 16 | Upstream-Status: Backport [3c288da5eec81ee58b85927df18d9194ead8f5c2] |
| 17 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | 17 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> |
| 18 | --- | 18 | --- |
| 19 | src/mesa/drivers/dri/i965/brw_bufmgr.h | 1 + | 19 | src/mesa/drivers/dri/i965/brw_bufmgr.h | 1 + |
diff --git a/meta/recipes-graphics/mesa/mesa_18.1.3.bb b/meta/recipes-graphics/mesa/mesa_18.1.3.bb index c47c57e9d8..1c76f4b1b1 100644 --- a/meta/recipes-graphics/mesa/mesa_18.1.3.bb +++ b/meta/recipes-graphics/mesa/mesa_18.1.3.bb | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | require ${BPN}.inc | 1 | require ${BPN}.inc |
| 2 | 2 | ||
| 3 | SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ | 3 | SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ |
| 4 | file://0001-Makefile.vulkan.am-explictly-add-lib-expat-to-intel-.patch \ | ||
| 5 | file://0002-Simplify-wayland-scanner-lookup.patch \ | 4 | file://0002-Simplify-wayland-scanner-lookup.patch \ |
| 6 | file://0003-winsys-svga-drm-Include-sys-types.h.patch \ | 5 | file://0003-winsys-svga-drm-Include-sys-types.h.patch \ |
| 7 | file://0004-hardware-gloat.patch \ | 6 | file://0004-hardware-gloat.patch \ |
