Skip to content

Commit b219302

Browse files
authored
use mbed-target-config.h from generated header (ARMmbed#257)
1 parent 2deef5a commit b219302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/cmake/mbed_set_linker_script.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function(mbed_set_custom_linker_script target new_linker_script_path)
128128
COMMAND
129129
${CMAKE_C_COMPILER} @${linker_defs_response_file}
130130
-E -x assembler-with-cpp
131-
-include ${CMAKE_BINARY_DIR}/mbed-os/mbed-target-config.h
131+
-include ${CMAKE_BINARY_DIR}/mbed-os/generated-headers/mbed-target-config.h
132132
-P ${RAW_LINKER_SCRIPT_PATHS}
133133
-o ${CUSTOM_LINKER_SCRIPT_PATH}
134134
DEPENDS

0 commit comments

Comments
 (0)