2003-09-12 12:20:12 +02:00
|
|
|
#! /bin/sh
|
|
|
|
|
2004-02-13 15:42:28 +01:00
|
|
|
buildinputs="$patch $perl $m4"
|
2003-09-12 12:20:12 +02:00
|
|
|
. $stdenv/setup || exit 1
|
|
|
|
|
|
|
|
tar xvfj $linuxSrc || exit 1
|
|
|
|
cd linux-* || exit 1
|
2004-02-13 15:42:28 +01:00
|
|
|
bunzip2 < $umlSrc | patch -p1 || exit 1
|
2003-09-12 12:20:12 +02:00
|
|
|
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
|