Skip to content

Commit 219c536

Browse files
committed
Fix parameter order error to mbed_setup_linker_script
1 parent cb4b499 commit 219c536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ if(NOT MBED_IS_NATIVE_BUILD)
293293
mbed_create_distro(mbed-os ${MBED_TARGET_CMAKE_NAME} mbed-core-flags mbed-core-sources mbed-rtos-flags mbed-rtos-sources)
294294

295295
# Set up the linker script and hook it up to the top-level OS targets
296-
mbed_setup_linker_script(mbed-baremetal mbed-os ${CMAKE_CURRENT_BINARY_DIR}/generated-headers/mbed-target-config.h)
296+
mbed_setup_linker_script(mbed-os mbed-baremetal ${CMAKE_CURRENT_BINARY_DIR}/generated-headers/mbed-target-config.h)
297297

298298
# Make sure that things linking mbed-core-flags can also get the target-specific include dirs and flags.
299299
mbed_extract_flags(${MBED_TARGET_CMAKE_NAME}-flags ${MBED_TARGET_CMAKE_NAME})

0 commit comments

Comments
 (0)