Cmake: Provide linker script preprocess for tasking compiler

Provide linker script preprocess for tasking compiler

Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com>
This commit is contained in:
wangchengdong
2025-09-23 16:42:27 +08:00
committed by archer
parent 851f1fd439
commit 38ad767f25
3 changed files with 10 additions and 2 deletions

View File

@@ -633,7 +633,7 @@ process_all_directory_romfs()
get_property(ldscript GLOBAL PROPERTY LD_SCRIPT)
# Pre-compile linker script
if(NOT CONFIG_ARCH_SIM AND NOT CONFIG_ARCH_TOOLCHAIN_TASKING)
if(NOT CONFIG_ARCH_SIM)
get_filename_component(LD_SCRIPT_NAME ${ldscript} NAME)
set(LD_SCRIPT_TMP "${CMAKE_BINARY_DIR}/${LD_SCRIPT_NAME}.tmp")