aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-03-04 07:21:36 +0000
committerGitHub <noreply@github.com>2020-03-04 07:21:36 +0000
commitc06827cd505444fca4e05c8b9dbe8067a66cf1a9 (patch)
treef4b6b7d93a85765bca1ddccba06d6f9420d392ee /ecp5
parent5fa10e1a9522d626f48d2a70eb58e96c39226212 (diff)
parent054be6fb6700eae02ec1a47ecf3d4c2838ee06d2 (diff)
downloadnextpnr-c06827cd505444fca4e05c8b9dbe8067a66cf1a9.tar.gz
nextpnr-c06827cd505444fca4e05c8b9dbe8067a66cf1a9.tar.bz2
nextpnr-c06827cd505444fca4e05c8b9dbe8067a66cf1a9.zip
Merge pull request #404 from smunaut/fix_prefix_default
build: Default the ECP5 and iCE40 roots to the install prefix
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/family.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/ecp5/family.cmake b/ecp5/family.cmake
index 8756aa36..14112964 100644
--- a/ecp5/family.cmake
+++ b/ecp5/family.cmake
@@ -2,8 +2,8 @@ if (NOT EXTERNAL_CHIPDB)
set(devices 25k 45k 85k)
if (NOT DEFINED TRELLIS_INSTALL_PREFIX)
- message(STATUS "TRELLIS_INSTALL_PREFIX not defined using -DTRELLIS_INSTALL_PREFIX=/path-prefix/to/prjtrellis-installation. Default to /usr/local or reset by -DCMAKE_INSTALL_PREFIX when building prjtrellis/libtrellis")
- set(TRELLIS_INSTALL_PREFIX "/usr/local")
+ message(STATUS "TRELLIS_INSTALL_PREFIX not defined using -DTRELLIS_INSTALL_PREFIX=/path-prefix/to/prjtrellis-installation. Defaulted to ${CMAKE_INSTALL_PREFIX}")
+ set(TRELLIS_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
endif()
if (NOT DEFINED PYTRELLIS_LIBDIR)