fix: add bin dir to the system install dir

This commit is contained in:
maksyuki committed 2025-12-17 17:47:01 +08:00
1 parent 98e13efeaf
commit 02415cf196
1 file changed
+1 -1
+1 -1
View File
@@ -233,7 +233,7 @@ def install_software_toolchain():
print("Download RISCV GNU Toolchain ...")
run_command("wget https://github.com/riscv-collab/riscv-gnu-toolchain/releases/download/2025.05.01/riscv32-elf-ubuntu-22.04-gcc-nightly-2025.05.01-nightly.tar.xz")
run_command("tar -xvf riscv32-elf-ubuntu-22.04-gcc-nightly-2025.05.01-nightly.tar.xz")
run_command("sudo cp -rf riscv/bin/* /usr/local")
run_command("sudo cp -rf riscv/bin/* /usr/local/bin")
print("✓ software toolchain installation completed")
return True