updates BSP and adds options to specify link target
This commit is contained in:
parent
f3dc9aea54
commit
36cb401420
@ -4,8 +4,11 @@ endif()
|
|||||||
if (NOT DEFINED ISA)
|
if (NOT DEFINED ISA)
|
||||||
set(ISA imc)
|
set(ISA imc)
|
||||||
endif()
|
endif()
|
||||||
|
if(DEFINED LINK_TARGET)
|
||||||
|
set(LNK LINK_TARGET=${LINK_TARGET})
|
||||||
|
endif()
|
||||||
message(STATUS "Building firmware using ${BOARD} board configuration and isa ${ISA}")
|
message(STATUS "Building firmware using ${BOARD} board configuration and isa ${ISA}")
|
||||||
add_custom_target(fw-common ALL
|
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
|
USES_TERMINAL
|
||||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 87dc0ec2304adcb94a25b397a357aadae1304867
|
Subproject commit 428d3ac28556bf6d2229dd1b767bcd46008f7552
|
Loading…
x
Reference in New Issue
Block a user