From 9c0bc141f00b70035c8bdb248458c2fb206d8bb3 Mon Sep 17 00:00:00 2001 From: Artturin Date: Sat, 22 Feb 2025 21:45:18 +0200 Subject: [PATCH] hello_world: Use nixpkgs target prefix nixpkgs `riscv64-embedded` is `riscv64-none-elf` --- rv_tests/hello_world/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rv_tests/hello_world/Makefile b/rv_tests/hello_world/Makefile index ba2ea75..977973f 100644 --- a/rv_tests/hello_world/Makefile +++ b/rv_tests/hello_world/Makefile @@ -1,8 +1,8 @@ # RISC-V toolchain -CC = riscv64-unknown-elf-gcc -AS = riscv64-unknown-elf-as -LD = riscv64-unknown-elf-ld -OBJCOPY = riscv64-unknown-elf-objcopy +CC = riscv64-none-elf-gcc +AS = riscv64-none-elf-as +LD = riscv64-none-elf-ld +OBJCOPY = riscv64-none-elf-objcopy QEMU = qemu-system-riscv64 # Compilation flags