Fixing the kernel configuration for the sheevaplug

svn path=/nixpkgs/branches/stdenv-updates/; revision=19137
This commit is contained in:
Lluís Batlle i Rossell 2009-12-28 10:35:34 +00:00
parent 57e123fe6c
commit 1452ce46a4
2 changed files with 23 additions and 2 deletions

View File

@ -74,7 +74,7 @@ stdenv.mkDerivation {
in lib.concatStringsSep "\n" ([config] ++ configFromPatches);
# For UML, just ignore all options that don't apply (I'm lazy).
ignoreConfigErrors = userModeLinux;
ignoreConfigErrors = (userModeLinux || stdenv.system = "armv5tel-linux");
buildInputs = [ perl mktemp ]
++ lib.optional (platform.uboot != null) [platform.uboot];

View File

@ -21,11 +21,32 @@ with pkgs;
sheevaplug = assert system == "armv5tel-linux"; {
name = "sheevaplug";
kernelBaseConfig = "kirkwood_defconfig";
kernelArch = "arm";
kernelExtraConfig =
''
# Fail to build
DRM n
SCSI_ADVANSYS n
USB_ISP1362_HCD n
SND_SOC n
SND_ALI5451 n
FB_SAVAGE n
SCSI_NSP32 n
ATA_SFF n
SUNGEM n
IRDA n
ATM_HE n
SCSI_ACARD n
BLK_DEV_CMD640_ENHANCED n
'';
inherit uboot;
};
platformVersatileARM = assert system == "armv5tel-linux"; {
versatileARM = assert system == "armv5tel-linux"; {
name = "versatileARM";
kernelBaseConfig = "versatile_defconfig";
kernelArch = "arm";
uboot = null;
};
}