Skip to content

Commit fb69ee2

Browse files
committed
Fix parameter order error to mbed_setup_linker_script
1 parent a0487d8 commit fb69ee2

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
@@ -285,7 +285,7 @@ if(NOT MBED_IS_NATIVE_BUILD)
285285
mbed_create_distro(mbed-os ${MBED_TARGET_CMAKE_NAME} mbed-core-flags mbed-core-sources mbed-rtos-flags mbed-rtos-sources)
286286

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

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

0 commit comments

Comments
 (0)