Files
system-control/firmware/bootloader_components/my_boot_hooks/CMakeLists.txt
T
mars3142 fab5b18389 try to fix action
Signed-off-by: Peter Siegmund <developer@mars3142.org>
2026-03-16 08:43:06 +01:00

8 lines
381 B
CMake

idf_component_register(SRCS "hooks.c")
# We need to force GCC to integrate this static library into the
# bootloader link. Indeed, by default, as the hooks in the bootloader are weak,
# the linker would just ignore the symbols in the extra. (i.e. not strictly
# required)
# To do so, we need to define the symbol (function) `bootloader_hooks_include`
# within hooks.c source file.