mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
Fixing the kernel configuration for the sheevaplug
svn path=/nixpkgs/branches/stdenv-updates/; revision=19137
This commit is contained in:
parent
57e123fe6c
commit
1452ce46a4
@ -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];
|
||||
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user