2003-08-26 17:25:26 +02:00
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
. $stdenv/setup || exit 1
|
|
|
|
|
2003-08-26 22:05:56 +02:00
|
|
|
tar xvfj $src || exit 1
|
|
|
|
cd linux-* || exit 1
|
|
|
|
make include/linux/version.h || exit 1
|
2003-08-26 17:25:26 +02:00
|
|
|
mkdir $out || exit 1
|
2003-08-26 22:05:56 +02:00
|
|
|
mkdir $out/include || exit 1
|
|
|
|
cp -prvd include/linux include/asm-i386 $out/include || exit 1
|
|
|
|
cd $out/include || exit 1
|
2003-08-26 17:25:26 +02:00
|
|
|
ln -s asm-i386 asm || exit 1
|