forked from rarias/nixos-riscv
Boot opensbi without compressed
This commit is contained in:
13
overlay.nix
Normal file
13
overlay.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
];
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user