3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/kernel-headers/builder.sh
Armijn Hemel 4b16211201 use new kernel headers
svn path=/nixpkgs/branches/nixos-pkgs/; revision=2053
2005-01-18 13:16:42 +00:00

24 lines
356 B
Bash

. $stdenv/setup
buildPhase() {
make include/linux/version.h
}
buildPhase=buildPhase
installPhase() {
mkdir $out
mkdir $out/include
cp -prvd include/linux include/asm-i386 include/asm-generic $out/include
cd $out/include
ln -s asm-i386 asm
echo -n > $out/include/linux/autoconf.h
}
installPhase=installPhase
genericBuild