Linux 3.3 puts some of its headers in include/generated

svn path=/nixpkgs/trunk/; revision=33282
This commit is contained in:
Shea Levy
2012-03-20 00:02:24 +00:00
parent 5f32e704bf
commit a74565238a
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ buildPhase() {
sysSrc=$(echo $kernel/lib/modules/$kernelVersion/build/)
unset src # used by the nv makefile
# Hack necessary to compile on 2.6.28.
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$sysSrc/include/asm/mach-default"
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$sysSrc/include/asm/mach-default -I$sysSrc/include/generated"
make SYSSRC=$sysSrc module
cd ..
fi