18 lines
365 B
Nix
18 lines
365 B
Nix
{ lib }:
|
|
let
|
|
base = lib.systems.examples.sheevaplug;
|
|
in base // {
|
|
system = "armv5tel-linux";
|
|
|
|
kernelAutoModules = true;
|
|
kernelBaseConfig = "brain_defconfig";
|
|
kernelTarget = "zImage";
|
|
kernelDTB = true;
|
|
kernelExtraConfig = ''
|
|
# Disable OABI for seccomp/systemd compatibility.
|
|
OABI_COMPAT n
|
|
|
|
# Onboard serial
|
|
SERIAL_OF_PLATFORM y
|
|
'';
|
|
}
|