From eba6ea53f8a03086a48a67c1b8e2a0fce4ff48c0 Mon Sep 17 00:00:00 2001 From: Larry Doolittle Date: Tue, 14 Jan 2020 12:28:40 -0800 Subject: More adjustments to .bba file locations Follows PM discussion with Marcus Comstedt. Extend changes in .bba file location (made in commit b6a7b60) to ice40 and MSVC cases, so all cases become compatible with read-only access to git tree. Only known down-side is inefficiency when building out-of-tree for multiple architectures; people following that use case should consider using PREGENERATED_BBA_PATH. It would be nice if there were less copy-paste in MSVC vs. non-MSVC content in family.cmake, but that would have to be addressed by someone more skilled in Cmake and MSVC. --- ecp5/family.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecp5/family.cmake') diff --git a/ecp5/family.cmake b/ecp5/family.cmake index 9cd49b35..720fd19f 100644 --- a/ecp5/family.cmake +++ b/ecp5/family.cmake @@ -38,7 +38,7 @@ if (NOT EXTERNAL_CHIPDB) set(PREV_DEV_CC_BBA_DB) foreach (dev ${devices}) set(DEV_CC_DB ${CMAKE_CURRENT_BINARY_DIR}/ecp5/chipdbs/chipdb-${dev}.bin) - set(DEV_CC_BBA_DB ${CMAKE_CURRENT_SOURCE_DIR}/ecp5/chipdbs/chipdb-${dev}.bba) + set(DEV_CC_BBA_DB ${CMAKE_CURRENT_BINARY_DIR}/ecp5/chipdbs/chipdb-${dev}.bba) set(DEV_CONSTIDS_INC ${CMAKE_CURRENT_SOURCE_DIR}/ecp5/constids.inc) set(DEV_GFXH ${CMAKE_CURRENT_SOURCE_DIR}/ecp5/gfx.h) if (PREGENERATED_BBA_PATH) -- cgit v1.2.3