Fix syntax error in cmake when using custom stage2 (#580)
Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
This commit is contained in:
parent
ca232e9404
commit
d7feac1495
@ -4,7 +4,7 @@
|
|||||||
if (DEFINED ENV{PICO_DEFAULT_BOOT_STAGE2_FILE})
|
if (DEFINED ENV{PICO_DEFAULT_BOOT_STAGE2_FILE})
|
||||||
set(PICO_DEFAULT_BOOT_STAGE2_FILE $ENV{PICO_DEFAULT_BOOT_STAGE2_FILE})
|
set(PICO_DEFAULT_BOOT_STAGE2_FILE $ENV{PICO_DEFAULT_BOOT_STAGE2_FILE})
|
||||||
message("Using PICO_DEFAULT_BOOT_STAGE2_FILE from environment ('${PICO_DEFAULT_BOOT_STAGE2_FILE}')")
|
message("Using PICO_DEFAULT_BOOT_STAGE2_FILE from environment ('${PICO_DEFAULT_BOOT_STAGE2_FILE}')")
|
||||||
elif (PICO_DEFAULT_BOOT_STAGE2_FILE)
|
elseif (PICO_DEFAULT_BOOT_STAGE2_FILE)
|
||||||
# explicitly set, so cache it
|
# explicitly set, so cache it
|
||||||
set(PICO_DEFAULT_BOOT_STAGE2_FILE "${PICO_DEFAULT_BOOT_STAGE2_FILE}" CACHE STRING "boot stage 2 source file" FORCE)
|
set(PICO_DEFAULT_BOOT_STAGE2_FILE "${PICO_DEFAULT_BOOT_STAGE2_FILE}" CACHE STRING "boot stage 2 source file" FORCE)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user