mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-04-16 23:43:15 +00:00
Fix boot_stage2 function arguments
They don't take a TARGET argument
This commit is contained in:
parent
7aed152026
commit
171daf787e
@ -33,7 +33,7 @@ set(PICO_BOOT_STAGE2_DIR "${CMAKE_CURRENT_LIST_DIR}" CACHE INTERNAL "")
|
||||
pico_add_library(boot_stage2_headers)
|
||||
target_include_directories(boot_stage2_headers SYSTEM INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include)
|
||||
|
||||
# pico_define_boot_stage2(TARGET NAME SOURCES)
|
||||
# pico_define_boot_stage2(NAME SOURCES)
|
||||
# Define a boot stage 2 target.
|
||||
# By convention the first source file name without extension is used for the binary info name
|
||||
function(pico_define_boot_stage2 NAME SOURCES)
|
||||
@ -99,7 +99,7 @@ endmacro()
|
||||
|
||||
pico_define_boot_stage2(bs2_default ${PICO_DEFAULT_BOOT_STAGE2_FILE})
|
||||
|
||||
# pico_clone_default_boot_stage2(TARGET NAME)
|
||||
# pico_clone_default_boot_stage2(NAME)
|
||||
# Create a new boot stage 2 target using the default implementation for the current build (PICO_BOARD derived)
|
||||
function(pico_clone_default_boot_stage2 NAME)
|
||||
pico_define_boot_stage2(${NAME} ${PICO_DEFAULT_BOOT_STAGE2_FILE})
|
||||
|
@ -33,7 +33,7 @@ set(PICO_BOOT_STAGE2_DIR "${CMAKE_CURRENT_LIST_DIR}" CACHE INTERNAL "")
|
||||
pico_add_library(boot_stage2_headers)
|
||||
target_include_directories(boot_stage2_headers SYSTEM INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include)
|
||||
|
||||
# pico_define_boot_stage2(TARGET NAME SOURCES)
|
||||
# pico_define_boot_stage2(NAME SOURCES)
|
||||
# Define a boot stage 2 target.
|
||||
# By convention the first source file name without extension is used for the binary info name
|
||||
function(pico_define_boot_stage2 NAME SOURCES)
|
||||
@ -99,7 +99,7 @@ endmacro()
|
||||
|
||||
pico_define_boot_stage2(bs2_default ${PICO_DEFAULT_BOOT_STAGE2_FILE})
|
||||
|
||||
# pico_clone_default_boot_stage2(TARGET NAME)
|
||||
# pico_clone_default_boot_stage2(NAME)
|
||||
# Create a new boot stage 2 target using the default implementation for the current build (PICO_BOARD derived)
|
||||
function(pico_clone_default_boot_stage2 NAME)
|
||||
pico_define_boot_stage2(${NAME} ${PICO_DEFAULT_BOOT_STAGE2_FILE})
|
||||
|
Loading…
x
Reference in New Issue
Block a user