diff mbox series

[3/7] vk-gl-cts: fix EXTRA_OECMAKE

Message ID 20241209172626.4144686-3-ross.burton@arm.com
State Accepted
Headers show
Series [1/7] etcd: don't set UPSTREAM_CHECK_COMMITS | expand

Commit Message

Ross Burton Dec. 9, 2024, 5:26 p.m. UTC
There are no native/nativesdk builds of this recipe, so there's no need
to use a separate class-target assignment.

We should pass AMBER_DISABLE_WERROR in all builds, not just target.

Setting -DUPDATE_DEPS=OFF isn't functional as the CMakeLists explictly
set that to ON, so remove it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
diff mbox series

Patch

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 0322ef453a..ea37425b9d 100644
--- a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
+++ b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
@@ -38,8 +38,11 @@  DEPENDS:append:libc-musl = " libexecinfo"
 SRC_URI:append:toolchain-clang = "\
 	file://fix-clang-private-operator.patch \
 "
-EXTRA_OECMAKE += "-DUPDATE_DEPS=OFF"
-EXTRA_OECMAKE:prepend:class-target = "-DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols -DAMBER_DISABLE_WERROR=ON"
+
+EXTRA_OECMAKE += "-DAMBER_DISABLE_WERROR=ON \
+                  -DCMAKE_CROSSCOMPILING_EMULATOR=${WORKDIR}/qemuwrapper \
+                  -DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \
+                  -DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols"
 
 # The best thing for the user to do is to not specify any of the following
 # PACKAGECONFIGs (i.e. leave it blank) which tells the project to do its own