* Build version.h before installing the header files.
svn path=/nixpkgs/trunk/; revision=362
This commit is contained in:
parent
e83fe5ee78
commit
1edcca4322
@ -2,10 +2,11 @@
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
|
||||
tar xvfj $src || exit 1
|
||||
cd linux-* || exit 1
|
||||
make include/linux/version.h || exit 1
|
||||
mkdir $out || exit 1
|
||||
cd $out || exit 1
|
||||
tar xvfj $src 'linux-*/include/linux' 'linux-*/include/asm-i386' || exit 1
|
||||
mv linux-*/include . || exit 1
|
||||
rmdir linux-* || exit 1
|
||||
cd include || exit 1
|
||||
mkdir $out/include || exit 1
|
||||
cp -prvd include/linux include/asm-i386 $out/include || exit 1
|
||||
cd $out/include || exit 1
|
||||
ln -s asm-i386 asm || exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user