vendor.xilinx: update build script template for prjxray.
This commit is contained in:
parent
fadc5ae4ca
commit
a704b1b218
|
@ -1,10 +1,10 @@
|
||||||
|
import re
|
||||||
from abc import abstractproperty
|
from abc import abstractproperty
|
||||||
|
|
||||||
from ..hdl import *
|
from ..hdl import *
|
||||||
from ..lib.cdc import ResetSynchronizer
|
from ..lib.cdc import ResetSynchronizer
|
||||||
from ..build import *
|
from ..build import *
|
||||||
|
|
||||||
import re
|
|
||||||
|
|
||||||
__all__ = ["XilinxPlatform"]
|
__all__ = ["XilinxPlatform"]
|
||||||
|
|
||||||
|
@ -505,8 +505,9 @@ class XilinxPlatform(TemplatedPlatform):
|
||||||
"build_{{name}}.sh": r"""
|
"build_{{name}}.sh": r"""
|
||||||
# {{autogenerated}}
|
# {{autogenerated}}
|
||||||
set -e{{verbose("x")}}
|
set -e{{verbose("x")}}
|
||||||
[ -n "${{platform._deprecated_toolchain_env_var}}" ] && . "${{platform._deprecated_toolchain_env_var}}"
|
{% for var in platform._all_toolchain_env_vars %}
|
||||||
[ -n "${{platform._toolchain_env_var}}" ] && . "${{platform._toolchain_env_var}}"
|
[ -n "${{var}}" ] && . "${{var}}"
|
||||||
|
{% endfor %}
|
||||||
: ${DB_DIR:=/usr/share/nextpnr/prjxray-db}
|
: ${DB_DIR:=/usr/share/nextpnr/prjxray-db}
|
||||||
: ${CHIPDB_DIR:=/usr/share/nextpnr/xilinx-chipdb}
|
: ${CHIPDB_DIR:=/usr/share/nextpnr/xilinx-chipdb}
|
||||||
{{emit_commands("sh")}}
|
{{emit_commands("sh")}}
|
||||||
|
|
Loading…
Reference in a new issue