aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-04-23 12:31:10 -0400
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-04-26 14:22:59 +0000
commite62442d3ae45ddb89bc61ced656e682591cc0902 (patch)
tree39a211607e643a5a958ac9d80ee48fb89b1699c1
parent07eb93e781070f368a6914a0aa7be93edd44b8e4 (diff)
Fix crosssdk build on RISC-Vquillback_17.0.2quillback/17.0.217.0.2
Remove gcc-sanitizers from the crosssdk when building for RISC-V, as it is not currently supported on that platform. Bug-AGL: SPEC-5116 Change-Id: If4e273c85b322f65635e2e9fc4752227f19b065c Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29847 ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account (cherry picked from commit 2d90ed672986778ed9826beeb395e688cd628156) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29858
-rw-r--r--recipes-platform/images/agl-ivi-crosssdk.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-platform/images/agl-ivi-crosssdk.inc b/recipes-platform/images/agl-ivi-crosssdk.inc
index 551c03437..f9f99d8d6 100644
--- a/recipes-platform/images/agl-ivi-crosssdk.inc
+++ b/recipes-platform/images/agl-ivi-crosssdk.inc
@@ -18,4 +18,7 @@ TOOLCHAIN_HOST_TASK += "nativesdk-grpc nativesdk-grpc-dev"
# Add gcc-sanitizers to support building applications using the SDK with
# AddressSanitizer support to detect use-after-frees along with other
# memory issue.
-TOOLCHAIN_TARGET_TASK += "gcc-sanitizers"
+TOOLCHAIN_SANITIZERS_TASKS = "gcc-sanitizers"
+# gcc-sanitizers is currently (scarthgap) not supported on RISC-V
+TOOLCHAIN_SANITIZERS_TASKS:riscv64 = ""
+TOOLCHAIN_TARGET_TASK += "${TOOLCHAIN_SANITIZERS_TASKS}"