fixes target naming

This commit is contained in:
Eyck Jentzsch 2024-06-14 20:46:09 +02:00
parent 1ce18ee1f6
commit 765f48e85a

View File

@ -5,7 +5,7 @@ if (NOT DEFINED ISA)
set(ISA imc) set(ISA imc)
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-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} && make -C benchmarks/dhrystone BOARD=${BOARD} ISA=${ISA} && make -C benchmarks/coremark BOARD=${BOARD} ISA=${ISA}
USES_TERMINAL USES_TERMINAL
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})