diff options
Diffstat (limited to 'machxo2')
-rw-r--r-- | machxo2/arch.cc | 2 | ||||
-rw-r--r-- | machxo2/family.cmake | 4 | ||||
-rw-r--r-- | machxo2/machxo2_available.h.in (renamed from machxo2/available.h.in) | 0 |
3 files changed, 3 insertions, 3 deletions
diff --git a/machxo2/arch.cc b/machxo2/arch.cc index 75566aed..e0ddd0d5 100644 --- a/machxo2/arch.cc +++ b/machxo2/arch.cc @@ -28,7 +28,7 @@ #include "router1.h" #include "router2.h" #include "util.h" -#include "chipdb/available.h" +#include "machxo2_available.h" NEXTPNR_NAMESPACE_BEGIN diff --git a/machxo2/family.cmake b/machxo2/family.cmake index 43b1a9b2..604c91f3 100644 --- a/machxo2/family.cmake +++ b/machxo2/family.cmake @@ -48,9 +48,9 @@ target_compile_options(chipdb-${family} PRIVATE -g0 -O0 -w) target_compile_definitions(chipdb-${family} PRIVATE NEXTPNR_NAMESPACE=nextpnr_${family}) target_include_directories(chipdb-${family} PRIVATE ${family}) -configure_file(${family}/available.h.in ${family}/chipdb/available.h) +configure_file(${family}/machxo2_available.h.in ${CMAKE_CURRENT_BINARY_DIR}/generated/machxo2_available.h) foreach(family_target ${family_targets}) target_sources(${family_target} PRIVATE $<TARGET_OBJECTS:chipdb-${family}>) - target_sources(${family_target} PRIVATE ${family}/chipdb/available.h) + target_sources(${family_target} PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/generated/machxo2_available.h) endforeach() diff --git a/machxo2/available.h.in b/machxo2/machxo2_available.h.in index dce650ee..dce650ee 100644 --- a/machxo2/available.h.in +++ b/machxo2/machxo2_available.h.in |