diff options
author | Scott Murray <scott.murray@konsulko.com> | 2024-04-23 12:31:10 -0400 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2024-04-24 15:23:41 +0000 |
commit | 2d90ed672986778ed9826beeb395e688cd628156 (patch) | |
tree | ac20bc1bb3f7ea124fb2ace68b17e8e3e93df241 /recipes-platform | |
parent | 50e5f6f9ddc3da020ef76f1132f872e4bc13d759 (diff) |
Fix crosssdk build on RISC-V
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
Diffstat (limited to 'recipes-platform')
-rw-r--r-- | recipes-platform/images/agl-ivi-crosssdk.inc | 5 |
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}" |