From b2193029c29fe349d3c269698f987fbecc6aa81d Mon Sep 17 00:00:00 2001 From: JojoS Date: Tue, 5 Mar 2024 18:12:23 +0100 Subject: [PATCH] use mbed-target-config.h from generated header (#257) --- tools/cmake/mbed_set_linker_script.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cmake/mbed_set_linker_script.cmake b/tools/cmake/mbed_set_linker_script.cmake index c22f941301a..5ab3a821f6f 100644 --- a/tools/cmake/mbed_set_linker_script.cmake +++ b/tools/cmake/mbed_set_linker_script.cmake @@ -128,7 +128,7 @@ function(mbed_set_custom_linker_script target new_linker_script_path) COMMAND ${CMAKE_C_COMPILER} @${linker_defs_response_file} -E -x assembler-with-cpp - -include ${CMAKE_BINARY_DIR}/mbed-os/mbed-target-config.h + -include ${CMAKE_BINARY_DIR}/mbed-os/generated-headers/mbed-target-config.h -P ${RAW_LINKER_SCRIPT_PATHS} -o ${CUSTOM_LINKER_SCRIPT_PATH} DEPENDS