From: Florent Kermarrec Date: Fri, 18 Apr 2014 11:51:56 +0000 (+0200) Subject: define platform.soc_ext_path when --external argument is used (to use it to include... X-Git-Tag: 24jan2021_ls180~2726 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea4b82e2ab7730eab4e5f298f2726c3abf2ff55c;p=litex.git define platform.soc_ext_path when --external argument is used (to use it to include verilog files in the external target) --- 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)