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 <l.burelli@arduino.cc>
This commit is contained in:
Luca Burelli 2025-03-20 14:49:22 +01:00 committed by Benjamin Cabé
parent fa6a9aef7b
commit 652ee91b7f

View File

@ -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})