Skip to content

Commit 171daf7

Browse files
committed
Fix boot_stage2 function arguments
They don't take a TARGET argument
1 parent 7aed152 commit 171daf7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/rp2040/boot_stage2/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ set(PICO_BOOT_STAGE2_DIR "${CMAKE_CURRENT_LIST_DIR}" CACHE INTERNAL "")
3333
pico_add_library(boot_stage2_headers)
3434
target_include_directories(boot_stage2_headers SYSTEM INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include)
3535

36-
# pico_define_boot_stage2(TARGET NAME SOURCES)
36+
# pico_define_boot_stage2(NAME SOURCES)
3737
# Define a boot stage 2 target.
3838
# By convention the first source file name without extension is used for the binary info name
3939
function(pico_define_boot_stage2 NAME SOURCES)
@@ -99,7 +99,7 @@ endmacro()
9999

100100
pico_define_boot_stage2(bs2_default ${PICO_DEFAULT_BOOT_STAGE2_FILE})
101101

102-
# pico_clone_default_boot_stage2(TARGET NAME)
102+
# pico_clone_default_boot_stage2(NAME)
103103
# Create a new boot stage 2 target using the default implementation for the current build (PICO_BOARD derived)
104104
function(pico_clone_default_boot_stage2 NAME)
105105
pico_define_boot_stage2(${NAME} ${PICO_DEFAULT_BOOT_STAGE2_FILE})

src/rp2350/boot_stage2/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ set(PICO_BOOT_STAGE2_DIR "${CMAKE_CURRENT_LIST_DIR}" CACHE INTERNAL "")
3333
pico_add_library(boot_stage2_headers)
3434
target_include_directories(boot_stage2_headers SYSTEM INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include)
3535

36-
# pico_define_boot_stage2(TARGET NAME SOURCES)
36+
# pico_define_boot_stage2(NAME SOURCES)
3737
# Define a boot stage 2 target.
3838
# By convention the first source file name without extension is used for the binary info name
3939
function(pico_define_boot_stage2 NAME SOURCES)
@@ -99,7 +99,7 @@ endmacro()
9999

100100
pico_define_boot_stage2(bs2_default ${PICO_DEFAULT_BOOT_STAGE2_FILE})
101101

102-
# pico_clone_default_boot_stage2(TARGET NAME)
102+
# pico_clone_default_boot_stage2(NAME)
103103
# Create a new boot stage 2 target using the default implementation for the current build (PICO_BOARD derived)
104104
function(pico_clone_default_boot_stage2 NAME)
105105
pico_define_boot_stage2(${NAME} ${PICO_DEFAULT_BOOT_STAGE2_FILE})

0 commit comments

Comments
 (0)