Skip to content

Commit

Permalink
[nrf fromtree] tfm: cmake: added CMAKE_ARGS as argument to
Browse files Browse the repository at this point in the history
... trusted_firmware_build

Follow-up: zephyrproject-rtos#34868

The CMAKE_ARGS was accidentally lost during work on zephyrproject-rtos#34868.
This commit fixes that by re-adding `CMAKE_ARGS` as multi value arg.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
(cherry picked from commit b8ad3c4)
  • Loading branch information
tejlmand authored and mbolivar-nordic committed Jun 10, 2021
1 parent 6b57c10 commit 9c4eb57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/trusted-firmware-m/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function(trusted_firmware_build)
set(options IPC BL2 REGRESSION_S REGRESSION_NS)
set(oneValueArgs BINARY_DIR BOARD ISOLATION_LEVEL CMAKE_BUILD_TYPE BUILD_PROFILE
MCUBOOT_IMAGE_NUMBER PSA_TEST_SUITE)
set(multiValueArgs ENABLED_PARTITIONS)
set(multiValueArgs ENABLED_PARTITIONS CMAKE_ARGS)
cmake_parse_arguments(TFM "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})

foreach(partition ${TFM_VALID_PARTITIONS})
Expand Down

0 comments on commit 9c4eb57

Please sign in to comment.