build.run: only use os.path on the target OS.
authorwhitequark <cz@m-labs.hk>
Sun, 7 Jul 2019 00:18:56 +0000 (00:18 +0000)
committerwhitequark <cz@m-labs.hk>
Sun, 7 Jul 2019 00:18:56 +0000 (00:18 +0000)
commit8ebc553fa0f2d39ca0940682c6c364767c4ce3f9
tree36473c3089d8efe45bcfc675dfa4bfb5ccbf8c05
parentf8736f77fa6ab37cbc4237116db8e96c2d9506da
build.run: only use os.path on the target OS.

Before this commit, BuildPlan.add_file would use os.path.normpath,
which would be the wrong thing for cross-builds.
nmigen/build/run.py