build.plat, vendor.*: don't join strings passed as _opts overrides.
authorwhitequark <whitequark@whitequark.org>
Sat, 6 Jul 2019 23:09:46 +0000 (23:09 +0000)
committerwhitequark <whitequark@whitequark.org>
Sat, 6 Jul 2019 23:09:46 +0000 (23:09 +0000)
commit1ee21d200749cbe2a08944635cc00f7e247480fe
tree58b47e17f15b977ba847b46b6ae9131ad359a4ec
parentb6b9f0fc21f218210b49a36fd013cc066b9f0d08
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