Skip to content

Commit

Permalink
define platform.soc_ext_path when --external argument is used (to use…
Browse files Browse the repository at this point in the history
… it to include verilog files in the external target)
enjoy-digital authored and sbourdeauducq committed Apr 18, 2014
1 parent 41c35e7 commit ea4b82e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions make.py
Original file line number Diff line number Diff line change
@@ -85,6 +85,8 @@ def _misoc_import(default, external, name):
platform_name = args.platform
platform_module = _misoc_import("mibuild.platforms", external_platform, platform_name)
platform = platform_module.Platform()
if args.external:
platform.soc_ext_path = os.path.abspath(args.external)

build_name = top_class.__name__.lower() + "-" + platform_name
top_kwargs = dict((k, autotype(v)) for k, v in args.target_option)

0 comments on commit ea4b82e

Please sign in to comment.