zephyr/soc/st/stm32/CMakeLists.txt
Erwan Gouriou 3a383aad6c boards: st: Clean up compiler related directives
Clean up early days TF-M development directives which are outdated today.
Factorize remaining CMake instructions in soc.

Signed-off-by: Erwan Gouriou <erwan.gouriou@st.com>
2024-03-22 09:23:30 +00:00

13 lines
370 B
CMake

# Copyright (c) 2024 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
if (CONFIG_BUILD_WITH_TFM)
set_property(GLOBAL APPEND PROPERTY extra_post_build_commands
#Execute post build script postbuild.sh
COMMAND $<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/api_ns/postbuild.sh ${CROSS_COMPILE}${CC}
)
endif()
add_subdirectory(common)
add_subdirectory(${SOC_SERIES})