Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make.py: append external_target path to sys
Browse files Browse the repository at this point in the history
allow external designs to have specific targets derived from a base target
enjoy-digital committed Jul 13, 2015
1 parent 4dca66b commit 9b64eb2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions make.py
Original file line number Diff line number Diff line change
@@ -65,6 +65,7 @@ def _get_args():
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(1, external_target)

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

1 comment on commit 9b64eb2

@sbourdeauducq
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Please sign in to comment.