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 <frantisek.hrbata@espressif.com>
This commit is contained in:
Frantisek Hrbata
2025-11-04 07:48:13 +01:00
parent 092f934875
commit 8d2ec65c5a
+12
View File
@@ -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(<target> <deptype> <scriptfile>...)
#]]
function(target_linker_script target deptype scriptfiles)
# FIXME: This is just a placeholder without implementation.
endfunction()