build.plat, vendor.*: don't join strings passed as _opts overrides.
authorwhitequark <cz@m-labs.hk>
Sat, 6 Jul 2019 23:09:46 +0000 (23:09 +0000)
committerwhitequark <cz@m-labs.hk>
Sat, 6 Jul 2019 23:09:46 +0000 (23:09 +0000)
commite6d03df78c5cf131f79e2b2e46649b8b3f1d1659
tree58b47e17f15b977ba847b46b6ae9131ad359a4ec
parent2b1fb525cb92e933b788e9955358a76d2c87f95f
build.plat, vendor.*: don't join strings passed as _opts overrides.

Right now an array is expected in any _opts overrides, and if it is
actually a string (because it is passed via an environment variable,
usually), awkwardness results as each character is joined with ` `.

Fixes #130.
nmigen/build/plat.py
nmigen/vendor/lattice_ecp5.py
nmigen/vendor/lattice_ice40.py
nmigen/vendor/xilinx_7series.py
nmigen/vendor/xilinx_spartan6.py