Linux 3.3 puts some of its headers in include/generated
svn path=/nixpkgs/trunk/; revision=33282
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user