cmake(enhance):Enhance romfs so that RAWS files can be added in any location

1.make the generation sequence of etc romfs no longer bound to the board
2.RCRAWS RCSRCS can be added from any directory
3.enable dynamic files, files generated during the compilation process,
    and ensure the correct time order

Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
xuxin19
2024-11-26 17:05:29 +08:00
committed by Xiang Xiao
parent 208f31c27f
commit dc8bde8dd5
2 changed files with 163 additions and 1 deletions

View File

@@ -583,8 +583,10 @@ if(NOT CONFIG_BUILD_KERNEL)
endif()
# after we traverse all build directories unify all target dependencies
# after we traverse all build directories unify all target dependencies and all
# romfs target
process_all_target_dependencies()
process_all_directory_romfs()
# Link step ##################################################################