Change firmware build directory

This commit is contained in:
Mario Romero 2023-02-09 19:51:02 -03:00
parent 96748e6f22
commit e6d06f510b

View File

@ -7,9 +7,8 @@ include(ExternalProject)
ExternalProject_Add(firmware
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/fw
BINARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/fw/build
BINARY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/build/fw
CMAKE_ARGS -DCMAKE_TOOLCHAIN_FILE=${CMAKE_CURRENT_SOURCE_DIR}/fw/cmake/riscv-toolchain.cmake
STEP_TARGETS build
INSTALL_COMMAND ""
)