mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
make.py: use sys.path.insert(0...) to allow external designs to have specific targets derived from a base target
This commit is contained in:
parent
4dca66b23d
commit
6c13879fb6
1 changed files with 1 additions and 1 deletions
2
make.py
2
make.py
|
@ -64,7 +64,7 @@ if __name__ == "__main__":
|
|||
if args.external:
|
||||
external_target = os.path.join(args.external, "targets")
|
||||
external_platform = os.path.join(args.external, "platforms")
|
||||
sys.path.insert(1, os.path.abspath(args.external))
|
||||
sys.path.insert(0, os.path.abspath(args.external))
|
||||
|
||||
# create top-level SoC object
|
||||
target_module = misoc_import("targets", external_target, args.target)
|
||||
|
|
Loading…
Reference in a new issue