first stub for kernel compilations. Still a lot missing, doesn't install

everything correctly, the config currently compile quite a bit (too much for
quick tests). This will change.

 --This line, and those below, will be ignored--

A    linux/kernel
A    linux/kernel/builder.sh
A    linux/kernel/default.nix
A    linux/kernel/config

svn path=/nixpkgs/trunk/; revision=3181
This commit is contained in:
Armijn Hemel 2005-06-15 12:30:34 +00:00
parent 3385ccd1f7
commit ef94be2ae1
3 changed files with 2788 additions and 0 deletions

View file

@ -0,0 +1,10 @@
. $stdenv/setup
buildPhase() {
cp $config .config
make
}
buildPhase=buildPhase
genericBuild

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,15 @@
{stdenv, fetchurl, perl}:
assert stdenv.system == "i686-linux";
stdenv.mkDerivation {
name = "linux-2.6.12-i386";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/os/Linux/system/kernel/v2.6/linux-2.6.11.12.tar.bz2;
md5 = "7e3b6e630bb05c1a8c1ba46e010dbe44";
};
config = ./config;
inherit perl;
buildInputs = [perl];
}