From 7184032555ddb3aafa34f7b76fe065b1a43fe10c Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sat, 14 Dec 2019 11:29:15 +0100 Subject: [PATCH] aller/neired/tagus: fix gateware/software build directory --- litex_boards/partner/targets/aller.py | 4 ++-- litex_boards/partner/targets/nereid.py | 4 ++-- litex_boards/partner/targets/tagus.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/litex_boards/partner/targets/aller.py b/litex_boards/partner/targets/aller.py index 0197e92..5ddb25d 100755 --- a/litex_boards/partner/targets/aller.py +++ b/litex_boards/partner/targets/aller.py @@ -190,10 +190,10 @@ class AllerSoC(SoCSDRAM): def main(): platform = aller.Platform() soc = AllerSoC(platform) - builder = Builder(soc, output_dir="../build/aller", csr_csv="../build/aller/csr.csv", + builder = Builder(soc, output_dir="aller", csr_csv="aller/csr.csv", compile_gateware=not "no-compile" in sys.argv[1:]) vns = builder.build(build_name="aller") - soc.generate_software_header("../software/kernel/csr.h") + soc.generate_software_header("aller/csr.h") if __name__ == "__main__": diff --git a/litex_boards/partner/targets/nereid.py b/litex_boards/partner/targets/nereid.py index f67a2c6..b7bde0d 100755 --- a/litex_boards/partner/targets/nereid.py +++ b/litex_boards/partner/targets/nereid.py @@ -187,10 +187,10 @@ class NereidSoC(SoCSDRAM): def main(): platform = nereid.Platform() soc = NereidSoC(platform) - builder = Builder(soc, output_dir="../build/nereid", csr_csv="../build/nereid/csr.csv", + builder = Builder(soc, output_dir="nereid", csr_csv="nereid/csr.csv", compile_gateware=not "no-compile" in sys.argv[1:]) vns = builder.build(build_name="nereid") - soc.generate_software_header("../software/kernel/csr.h") + soc.generate_software_header("nereid/csr.h") if __name__ == "__main__": diff --git a/litex_boards/partner/targets/tagus.py b/litex_boards/partner/targets/tagus.py index c77aa08..42d7b39 100755 --- a/litex_boards/partner/targets/tagus.py +++ b/litex_boards/partner/targets/tagus.py @@ -188,10 +188,10 @@ class TagusSoC(SoCSDRAM): def main(): platform = tagus.Platform() soc = TagusSoC(platform) - builder = Builder(soc, output_dir="../build/tagus", csr_csv="../build/tagus/csr.csv", + builder = Builder(soc, output_dir="tagus", csr_csv="tagus/csr.csv", compile_gateware=not "no-compile" in sys.argv[1:]) vns = builder.build(build_name="tagus") - soc.generate_software_header("../software/kernel/csr.h") + soc.generate_software_header("tagus/csr.h") if __name__ == "__main__":