serialzes FW build in cmake build flow

This commit is contained in:
Eyck Jentzsch 2024-06-14 17:34:53 +02:00
parent b4a3a36b2e
commit 1ce18ee1f6
1 changed files with 1 additions and 9 deletions

View File

@ -6,14 +6,6 @@ if (NOT DEFINED ISA)
endif() 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-hello-world ALL add_custom_target(fw-hello-world ALL
COMMAND make -C hello-world BOARD=${BOARD} ISA=${ISA} 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}
USES_TERMINAL
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
add_custom_target(fw-dhrystone ALL
COMMAND make -C benchmarks/dhrystone BOARD=${BOARD} ISA=${ISA}
USES_TERMINAL
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
add_custom_target(fw-coremark ALL
COMMAND make -C benchmarks/coremark BOARD=${BOARD} ISA=${ISA}
USES_TERMINAL USES_TERMINAL
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})