nixpkgs/pkgs/os-specific/linux/klibc/builder.sh
Armijn Hemel a816f506a2 add klibc
svn path=/nixpkgs/trunk/; revision=3723
2005-08-27 20:48:05 +00:00

12 lines
175 B
Bash

. $stdenv/setup
preBuild() {
kernelhash=$(ls $kernel/lib/modules)
echo $kernelhash
ln -s $kernel/lib/modules/$kernelhash/build linux
}
preBuild=preBuild
genericBuild