12ae5363ea
* Make builders unexecutable by removing the hash-bang line and execute permission. * Convert calls to `derivation' to `mkDerivation'. * Remove `system' and `stdenv' attributes from calls to `mkDerivation'. These transformations were all done automatically, so it is quite possible I broke stuff. * Put the `mkDerivation' function in stdenv/generic. svn path=/nixpkgs/trunk/; revision=874
18 lines
432 B
Bash
18 lines
432 B
Bash
buildinputs="$patch $perl $m4"
|
|
. $stdenv/setup || exit 1
|
|
|
|
tar xvfj $linuxSrc || exit 1
|
|
cd linux-* || exit 1
|
|
bunzip2 < $umlSrc | patch -p1 || exit 1
|
|
cp $config .config || exit 1
|
|
make oldconfig ARCH=um || exit 1
|
|
|
|
make linux ARCH=um || exit 1
|
|
strip linux || exit 1
|
|
make modules ARCH=um || exit 1
|
|
|
|
mkdir $out || exit 1
|
|
mkdir $out/bin || exit 1
|
|
cp -p linux $out/bin || exit 1
|
|
make modules_install INSTALL_MOD_PATH=$out ARCH=um || exit 1
|