mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
31f2316454
svn path=/nixpkgs/trunk/; revision=6844
27 lines
472 B
Bash
27 lines
472 B
Bash
source $stdenv/setup
|
|
|
|
|
|
buildPhase() {
|
|
make include/linux/version.h
|
|
}
|
|
|
|
buildPhase=buildPhase
|
|
|
|
|
|
installPhase() {
|
|
mkdir $out
|
|
mkdir $out/include
|
|
cp -prvd include/linux include/asm-generic $out/include
|
|
cp -prvd include/asm-$platform $out/include
|
|
ln -s asm-$platform $out/include/asm
|
|
for i in $extraIncludeDirs; do
|
|
cp -prvd include/asm-$i $out/include
|
|
done
|
|
echo -n > $out/include/linux/autoconf.h
|
|
}
|
|
|
|
installPhase=installPhase
|
|
|
|
|
|
genericBuild
|