nixpkgs/pkgs/os-specific/linux/klibc/builder.sh
Eelco Dolstra cd32e67b2b * Remove makeFlags/installFlags redundancy.
svn path=/nixpkgs/trunk/; revision=7501
2006-12-27 18:26:23 +00:00

12 lines
207 B
Bash

source $stdenv/setup
preBuild=preBuild
preBuild() {
mkdir -p linux/include
ln -s $kernel/lib/modules/*/build/include/* linux/include/
}
makeFlagsArray=(V=1 prefix=$out SHLIBDIR=$out/lib)
genericBuild