From 652ee91b7fb875b2feae92b131bf6f4e1ac8c942 Mon Sep 17 00:00:00 2001 From: Luca Burelli Date: Thu, 20 Mar 2025 14:49:22 +0100 Subject: [PATCH] llext-edk: fix BOARD_TARGET variable generation to be Zephyr-compatible The board revision is not part of the NORMALIZED_BOARD_TARGET variable as composed by Zephyr, so it must also not be used in the EDK exported value to avoid mismatches. The revision is exported as a separate variable, so it can still be used to differentiate between board revisions. Signed-off-by: Luca Burelli --- cmake/llext-edk.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake/llext-edk.cmake b/cmake/llext-edk.cmake index 1fca0032265..1475931968d 100644 --- a/cmake/llext-edk.cmake +++ b/cmake/llext-edk.cmake @@ -166,8 +166,7 @@ yaml_get(board_qualifiers NAME build_info KEY cmake board qualifiers) yaml_get(board_revision NAME build_info KEY cmake board revision) zephyr_build_string(normalized_board_target BOARD ${board_name} - BOARD_QUALIFIERS ${board_qualifiers} - BOARD_REVISION ${board_revision}) + BOARD_QUALIFIERS ${board_qualifiers}) set(llext_edk_name ${CONFIG_LLEXT_EDK_NAME}) set(llext_edk ${PROJECT_BINARY_DIR}/${llext_edk_name})