forked from mirrors/nixpkgs
510ff785e7
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
14 lines
251 B
Bash
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
|