14 lines
315 B
Nix
14 lines
315 B
Nix
|
final: prev:
|
||
|
|
||
|
# Changes to packages from nixpkgs
|
||
|
|
||
|
{
|
||
|
opensbi = prev.opensbi.overrideAttrs (old: {
|
||
|
makeFlags = old.makeFlags ++ [
|
||
|
# Build OpenSBI without compressed instructions
|
||
|
"PLATFORM_RISCV_ISA=rv64gv"
|
||
|
# Check with: riscv64-unknown-elf-objdump -d -M no-aliases rotate
|
||
|
];
|
||
|
});
|
||
|
}
|