1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/pkgs/linux-headers/linux-headers-build.sh
Eelco Dolstra 1edcca4322 * Build version.h before installing the header files.
svn path=/nixpkgs/trunk/; revision=362
2003-08-26 20:05:56 +00:00

13 lines
291 B
Bash
Executable file

#! /bin/sh
. $stdenv/setup || exit 1
tar xvfj $src || exit 1
cd linux-* || exit 1
make include/linux/version.h || exit 1
mkdir $out || 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