build.run: only use os.path on the target OS.
authorwhitequark <whitequark@whitequark.org>
Sun, 7 Jul 2019 00:18:56 +0000 (00:18 +0000)
committerwhitequark <whitequark@whitequark.org>
Sun, 7 Jul 2019 00:18:56 +0000 (00:18 +0000)
commit744154ebb551f3af613d0aed53e0ca4cf17b3659
tree36473c3089d8efe45bcfc675dfa4bfb5ccbf8c05
parentba64eb2037ded45238f8228a30ecea1c6c9fc5f8
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