From 6c13879fb605a1ee2bd5a3b35669e093f9a4267b Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 13 Jul 2015 17:00:03 +0200 Subject: [PATCH] make.py: use sys.path.insert(0...) to allow external designs to have specific targets derived from a base target --- make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2