aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/family.cmake
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-07-03 20:17:20 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-07-03 20:17:20 +0200
commit1a8b4591f56a2e62a601a32508f3d49ae0c7f112 (patch)
tree7350c5dd41089f763307d85f13678325a88d18ba /ice40/family.cmake
parentec9a9de6d3db22de27b40d69d2acbdd4f29c3af3 (diff)
downloadnextpnr-1a8b4591f56a2e62a601a32508f3d49ae0c7f112.tar.gz
nextpnr-1a8b4591f56a2e62a601a32508f3d49ae0c7f112.tar.bz2
nextpnr-1a8b4591f56a2e62a601a32508f3d49ae0c7f112.zip
added parameter to call
Diffstat (limited to 'ice40/family.cmake')
-rw-r--r--ice40/family.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/family.cmake b/ice40/family.cmake
index 1ed2ecf3..532d7cc4 100644
--- a/ice40/family.cmake
+++ b/ice40/family.cmake
@@ -17,7 +17,7 @@ foreach (dev ${devices})
set(DEV_TXT_DB /usr/local/share/icebox/chipdb-${dev}.txt)
set(DEV_CC_DB ${CMAKE_CURRENT_SOURCE_DIR}/ice40/chipdbs/chipdb-${dev}.cc)
add_custom_command(OUTPUT ${DEV_CC_DB}
- COMMAND python3 ${DB_PY} ${DEV_TXT_DB} > ${DEV_CC_DB}.new
+ COMMAND python3 ${DB_PY} -c ${DEV_TXT_DB} > ${DEV_CC_DB}.new
COMMAND mv ${DEV_CC_DB}.new ${DEV_CC_DB}
DEPENDS ${DEV_TXT_DB} ${DB_PY}
)