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.bur...@arm.com>
---
 meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc | 7 +++++--
 1 file changed, 5 insertions(+), 2 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 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
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#114251): 
https://lists.openembedded.org/g/openembedded-devel/message/114251
Mute This Topic: https://lists.openembedded.org/mt/110010175/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to