define platform.soc_ext_path when --external argument is used (to use it to include verilog files in the external target)
This commit is contained in:
parent
41c35e7e0c
commit
ea4b82e2ab
2
make.py
2
make.py
|
@ -85,6 +85,8 @@ if __name__ == "__main__":
|
||||||
platform_name = args.platform
|
platform_name = args.platform
|
||||||
platform_module = _misoc_import("mibuild.platforms", external_platform, platform_name)
|
platform_module = _misoc_import("mibuild.platforms", external_platform, platform_name)
|
||||||
platform = platform_module.Platform()
|
platform = platform_module.Platform()
|
||||||
|
if args.external:
|
||||||
|
platform.soc_ext_path = os.path.abspath(args.external)
|
||||||
|
|
||||||
build_name = top_class.__name__.lower() + "-" + platform_name
|
build_name = top_class.__name__.lower() + "-" + platform_name
|
||||||
top_kwargs = dict((k, autotype(v)) for k, v in args.target_option)
|
top_kwargs = dict((k, autotype(v)) for k, v in args.target_option)
|
||||||
|
|
Loading…
Reference in New Issue