summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc14
1 files changed, 1 insertions, 13 deletions
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
index cf9eaf6863..0b347cf77e 100644
--- a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
+++ b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
@@ -19,7 +19,7 @@ SRCREV_FORMAT = "vk-gl-cts_amber_glslang_spirv-headers_spirv-tools_jsoncpp_video
19 19
20S = "${WORKDIR}/git" 20S = "${WORKDIR}/git"
21 21
22inherit pkgconfig cmake features_check python3native qemu 22inherit pkgconfig cmake cmake-qemu features_check python3native
23 23
24UPSTREAM_CHECK_GITTAGREGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)" 24UPSTREAM_CHECK_GITTAGREGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
25 25
@@ -42,7 +42,6 @@ SRC_URI:append:toolchain-clang = "\
42" 42"
43 43
44EXTRA_OECMAKE += "-DAMBER_DISABLE_WERROR=ON \ 44EXTRA_OECMAKE += "-DAMBER_DISABLE_WERROR=ON \
45 -DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper \
46 -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \ 45 -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \
47 -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols" 46 -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols"
48 47
@@ -58,17 +57,6 @@ PACKAGECONFIG[x11_egl] = "-DDEQP_TARGET=x11_egl,,virtual/libx11 virtual/egl,,,su
58PACKAGECONFIG[x11_glx] = "-DDEQP_TARGET=x11_glx,,virtual/libx11,,,surfaceless wayland x11_egl x11_egl_glx" 57PACKAGECONFIG[x11_glx] = "-DDEQP_TARGET=x11_glx,,virtual/libx11,,,surfaceless wayland x11_egl x11_egl_glx"
59PACKAGECONFIG[x11_egl_glx] = "-DDEQP_TARGET=x11_glx,,virtual/libx11 virtual/egl,,,surfaceless wayland x11_egl x11_glx" 58PACKAGECONFIG[x11_egl_glx] = "-DDEQP_TARGET=x11_glx,,virtual/libx11 virtual/egl,,,surfaceless wayland x11_egl x11_glx"
60 59
61do_configure:append() {
62 # Write out a qemu wrapper that will be used by cmake
63 # so that it can run target helper binaries through that.
64 qemu_binary="${@qemu_wrapper_cmdline(d, d.getVar('STAGING_DIR_HOST'), [d.expand('${STAGING_DIR_HOST}${libdir}'),d.expand('${STAGING_DIR_HOST}${base_libdir}')])}"
65 cat > ${WORKDIR}/qemuwrapper << EOF
66#!/bin/sh
67$qemu_binary "\$@"
68EOF
69 chmod +x ${WORKDIR}/qemuwrapper
70}
71
72python __anonymous() { 60python __anonymous() {
73 # if the user doesn't specify any PACKAGECONFIG then the cts build system 61 # if the user doesn't specify any PACKAGECONFIG then the cts build system
74 # is going to probe the sysroot to try to figure out what to build 62 # is going to probe the sysroot to try to figure out what to build