nixpkgs-suyu/pkgs/os-specific/linux/dietlibc/builder.sh
Armijn Hemel 981a1f0f6e add dietlibc
svn path=/nixpkgs/trunk/; revision=3729
2005-08-27 23:05:50 +00:00

11 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