diff options
author | Larry Doolittle <ldoolitt@recycle.lbl.gov> | 2020-01-14 12:28:40 -0800 |
---|---|---|
committer | Larry Doolittle <ldoolitt@recycle.lbl.gov> | 2020-01-14 12:28:40 -0800 |
commit | eba6ea53f8a03086a48a67c1b8e2a0fce4ff48c0 (patch) | |
tree | d6ddde92240cf2d7e0faed440dc0420a7e0ecff9 /ecp5/family.cmake | |
parent | 92a2109f0c906504b8b7daa95b2a88943a59460d (diff) | |
download | nextpnr-eba6ea53f8a03086a48a67c1b8e2a0fce4ff48c0.tar.gz nextpnr-eba6ea53f8a03086a48a67c1b8e2a0fce4ff48c0.tar.bz2 nextpnr-eba6ea53f8a03086a48a67c1b8e2a0fce4ff48c0.zip |
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.
Diffstat (limited to 'ecp5/family.cmake')
-rw-r--r-- | ecp5/family.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
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) |