init: disable prjxray requirement in common code

Signed-off-by: Paweł Czarnecki <pczarnecki@antmicro.com>
This commit is contained in:
Paweł Czarnecki 2022-06-14 17:01:44 +02:00 committed by Unai Martinez-Corral
parent 2bb2ae2037
commit 7b7fa8ae3c
1 changed files with 5 additions and 2 deletions

View File

@ -531,11 +531,14 @@ def setup_resolution_env():
""" """
Generate initial values, available in configs. Generate initial values, available in configs.
""" """
return { conf = {
'prjxray_db': common_sub('prjxray-config').decode().replace('\n', ''),
'python3': common_sub('which', 'python3').decode().replace('\n', ''), 'python3': common_sub('which', 'python3').decode().replace('\n', ''),
'noisyWarnings': _noisy_warnings() 'noisyWarnings': _noisy_warnings()
} }
if (FPGA_FAM == 'xc7'):
conf['prjxray_db'] = common_sub('prjxray-config').decode().replace('\n', '')
return conf
r_env.add_values(_generate_values()) r_env.add_values(_generate_values())
return r_env return r_env