From ea4b82e2ab7730eab4e5f298f2726c3abf2ff55c Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 18 Apr 2014 13:51:56 +0200 Subject: [PATCH] define platform.soc_ext_path when --external argument is used (to use it to include verilog files in the external target) --- make.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/make.py b/make.py index c8ef3db3..1d844ba1 100755 --- a/make.py +++ b/make.py @@ -85,6 +85,8 @@ if __name__ == "__main__": 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) -- 2.30.2