updates BSP and adds options to specify link target
This commit is contained in:
@ -4,8 +4,11 @@ endif()
|
||||
if (NOT DEFINED ISA)
|
||||
set(ISA imc)
|
||||
endif()
|
||||
if(DEFINED LINK_TARGET)
|
||||
set(LNK LINK_TARGET=${LINK_TARGET})
|
||||
endif()
|
||||
message(STATUS "Building firmware using ${BOARD} board configuration and isa ${ISA}")
|
||||
add_custom_target(fw-common ALL
|
||||
COMMAND make -C hello-world BOARD=${BOARD} ISA=${ISA} && make -C benchmarks/dhrystone BOARD=${BOARD} ISA=${ISA} && make -C benchmarks/coremark BOARD=${BOARD} ISA=${ISA}
|
||||
COMMAND make -C hello-world BOARD=${BOARD} ISA=${ISA} ${LNK} && make -C benchmarks/dhrystone BOARD=${BOARD} ISA=${ISA} ${LNK} && make -C benchmarks/coremark BOARD=${BOARD} ISA=${ISA} ${LNK}
|
||||
USES_TERMINAL
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
Submodule bare-metal-bsp updated: 87dc0ec230...428d3ac285
Reference in New Issue
Block a user