3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/klibc/builder.sh
Eelco Dolstra 510ff785e7 * Urgh, splashutils requires the klibc headers to contain header files
from the fbsplash kernel patch.  So use the actual patched kernel as
  an input to klibc, instead of Glibc's kernel headers.

svn path=/nixpkgs/trunk/; revision=7138
2006-11-26 23:24:40 +00:00

14 lines
251 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)
installFlagsArray=("${makeFlagsArray[@]}")
genericBuild