linux_rpi: Specify defconfig in kernel expression

In particular, now the mainline kernel can be built on the RPi 1 as well
(so kernelBaseConfig should always be a mainline defconfig from now on).
And RPi 2 users can now use linux_rpi without doing the
`nixpkgs.config.platform = lib.systems.platforms.raspberrypi2;` dance.
This commit is contained in:
Tuomas Tynkkynen
2017-11-03 15:50:19 +02:00
committed by Tuomas Tynkkynen
parent 87a68c455e
commit 96edbe4a0e
2 changed files with 6 additions and 3 deletions

View File

@@ -167,7 +167,7 @@ rec {
raspberrypi = {
name = "raspberrypi";
kernelMajor = "2.6";
kernelBaseConfig = "bcmrpi_defconfig";
kernelBaseConfig = "bcm2835_defconfig";
kernelDTB = true;
kernelArch = "arm";
kernelAutoModules = false;
@@ -254,8 +254,6 @@ rec {
raspberrypi2 = armv7l-hf-multiplatform // {
name = "raspberrypi2";
kernelBaseConfig = "bcm2709_defconfig";
kernelDTB = true;
kernelAutoModules = false;
kernelExtraConfig = ''
BLK_DEV_RAM y