Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9b64eb2

Browse files
committedJul 13, 2015
make.py: append external_target path to sys
allow external designs to have specific targets derived from a base target
1 parent 4dca66b commit 9b64eb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

Diff for: ‎make.py

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def _get_args():
6565
external_target = os.path.join(args.external, "targets")
6666
external_platform = os.path.join(args.external, "platforms")
6767
sys.path.insert(1, os.path.abspath(args.external))
68+
sys.path.insert(1, external_target)
6869

6970
# create top-level SoC object
7071
target_module = misoc_import("targets", external_target, args.target)

1 commit comments

Comments
 (1)

sbourdeauducq commented on Jul 13, 2015

@sbourdeauducq
Member

What about importing targets.xxx in external designs instead of this?

Please sign in to comment.