
While it served a purpose (granting the ability to build `.bba` files separately from the rest of nextpnr), it made things excessively convoluted, especially around paths. This commit removes the ability to pre-generate chip databases. As far as I know, I was the primary user of that feature. It can be added back if there is demand for it. In exchange the per-family `CMakeLists.txt` files are now much easier to understand.
14 lines
496 B
CMake
14 lines
496 B
CMake
if (DEFINED ENV{OXIDE_INSTALL_PREFIX})
|
|
set(oxide_default_install_prefix $ENV{OXIDE_INSTALL_PREFIX})
|
|
else()
|
|
set(oxide_default_install_prefix ${CMAKE_INSTALL_PREFIX})
|
|
endif()
|
|
set(OXIDE_INSTALL_PREFIX "${oxide_default_install_prefix}" CACHE STRING
|
|
"prjoxide install prefix")
|
|
message(STATUS "prjoxide install prefix: ${OXIDE_INSTALL_PREFIX}")
|
|
|
|
set(PRJOXIDE_TOOL ${OXIDE_INSTALL_PREFIX}/bin/prjoxide)
|
|
message(STATUS "prjoxide tool path: ${PRJOXIDE_TOOL}")
|
|
|
|
return(PROPAGATE PRJOXIDE_TOOL)
|