mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
4b16211201
svn path=/nixpkgs/branches/nixos-pkgs/; revision=2053
23 lines
356 B
Bash
23 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
|