From 8d2ec65c5ad0ba8db03d060ce5174abea8df6d51 Mon Sep 17 00:00:00 2001 From: Frantisek Hrbata Date: Tue, 19 Aug 2025 10:55:41 +0200 Subject: [PATCH] feat(cmakev2/compat): add target_linker_script stump Currently, this is just a placeholder without implementation. The implementation will be completed in a subsequent patch set that integrates ldgen. For now, this is enough for ESP-IDF components can be included by cmakev2. Signed-off-by: Frantisek Hrbata --- tools/cmakev2/compat.cmake | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/cmakev2/compat.cmake b/tools/cmakev2/compat.cmake index 0fec37738aa..6f5a2e469e4 100644 --- a/tools/cmakev2/compat.cmake +++ b/tools/cmakev2/compat.cmake @@ -125,3 +125,15 @@ function(__get_component_sources) list(REMOVE_DUPLICATES sources) set(${ARG_OUTPUT} "${sources}" PARENT_SCOPE) endfunction() + +#[[api +.. cmakev2:function:: target_linker_script + + .. code-block:: cmake + + target_linker_script( ...) + +#]] +function(target_linker_script target deptype scriptfiles) + # FIXME: This is just a placeholder without implementation. +endfunction()