vk-gl-cts: fix EXTRA_OECMAKE

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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Ross Burton
2024-12-09 17:26:22 +00:00
committed by Khem Raj
parent 780cf3fe1e
commit 6246fefd40
@@ -38,8 +38,11 @@ DEPENDS:append:libc-musl = " libexecinfo"
SRC_URI:append:toolchain-clang = "\ SRC_URI:append:toolchain-clang = "\
file://fix-clang-private-operator.patch \ 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 # 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 # PACKAGECONFIGs (i.e. leave it blank) which tells the project to do its own