Improve the path messages a little.
authorTim 'mithro' Ansell <me@mith.ro>
Tue, 7 Apr 2020 00:27:24 +0000 (17:27 -0700)
committerTim 'mithro' Ansell <me@mith.ro>
Tue, 7 Apr 2020 00:27:24 +0000 (17:27 -0700)
litex_setup.py

index 14fc0cb3743b4ff240072ae863ffc3692232e92f..b7239ccf4a8c032587d2420bdce15b64b3c0bad1 100755 (executable)
@@ -139,5 +139,7 @@ if "update" in sys.argv[1:]:
 if "--user" in sys.argv[1:]:
     if ".local/bin" not in os.environ.get("PATH", ""):
         print("Make sure that ~/.local/bin is in your PATH")
+        print("export PATH=$PATH:~/.local/bin")
 elif "gcc" in sys.argv[1:]:
-    print("Make sure that the download RISC-V compiler is in your $PATH.")
+    print("Make sure that the downloaded RISC-V compiler is in your $PATH.")
+    print("export PATH=$PATH:$(echo $PWD/riscv64-*/bin/)")