mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 04:24:28 +03:00
linux-rpi: use bcm2709 on arm32 rpi3
“bcmrpi3_defconfig” isn’t provided for arm32, so we need to use bcm2709_config. When on arm64, we can still use bcmrpi3_defconfig
This commit is contained in:
parent
e15ab2cda7
commit
c78ad0f7f8
@ -18,7 +18,7 @@ lib.overrideDerivation (buildLinux (args // {
|
||||
defconfig = {
|
||||
"1" = "bcmrpi_defconfig";
|
||||
"2" = "bcm2709_defconfig";
|
||||
"3" = "bcmrpi3_defconfig";
|
||||
"3" = if stdenv.hostPlatform.isAarch64 then "bcmrpi3_defconfig" else "bcm2709_defconfig";
|
||||
"4" = "bcm2711_defconfig";
|
||||
}.${toString rpiVersion};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user