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
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 New Issue