rv_tests/hello_world: Rename PREFIX var to CROSS_PREFIX and make it configurable
And set it in devShell
This commit is contained in:
parent
ac8a2ea238
commit
0960ceb53a
2 changed files with 8 additions and 5 deletions
|
@ -62,6 +62,9 @@
|
|||
riscv64-linux.binutils
|
||||
riscv64-linux.glibc
|
||||
];
|
||||
shellHook = ''
|
||||
export CROSS_PREFIX="riscv64-none-elf"
|
||||
'';
|
||||
};
|
||||
}
|
||||
) { };
|
||||
|
|
Reference in a new issue