From: Florent Kermarrec Date: Mon, 13 Jul 2015 15:00:03 +0000 (+0200) Subject: make.py: use sys.path.insert(0...) to allow external designs to have specific targets... X-Git-Tag: 24jan2021_ls180~2207 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6c13879fb605a1ee2bd5a3b35669e093f9a4267b;p=litex.git make.py: use sys.path.insert(0...) to allow external designs to have specific targets derived from a base target --- diff --git a/make.py b/make.py index 400f24d5..61ed5fd5 100755 --- a/make.py +++ b/make.py @@ -64,7 +64,7 @@ if __name__ == "__main__": if args.external: 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(0, os.path.abspath(args.external)) # create top-level SoC object target_module = misoc_import("targets", external_target, args.target)