View Single Post
Old 03-23-12, 09:38 AM   #1
Platinumviper
Registered User
 
Join Date: Mar 2012
Posts: 1
Default Bug in installation skript of nvidia-driver-295.33

Hi,

the script kernel/conftest.sh is looking for generated files in the $SOURCE tree instead of the $OUTPUT tree. This affects all 3.3 kernels, compiled with the O= parameter or $KBUILD_OUTPUT variable.

Code:
--- kernel/conftest.sh.orig	2012-03-17 22:56:28.000000000 +0100
+++ kernel/conftest.sh	2012-03-23 14:18:41.000000000 +0100
@@ -126,9 +126,9 @@
     CFLAGS="$BASE_CFLAGS $MACH_CFLAGS $OUTPUT_CFLAGS -I$HEADERS $AUTOCONF_CFLAGS"
 
     if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
-        CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include -I$SOURCES/arch/x86/include/generated"
+        CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include -I$OUTPUT/arch/x86/include/generated"
     elif [ "$ARCH" = "ARMv7" ]; then
-        CFLAGS="$CFLAGS -I$SOURCES/arch/arm/include -I$SOURCES/arch/arm/include/generated"
+        CFLAGS="$CFLAGS -I$SOURCES/arch/arm/include -I$OUTPUT/arch/arm/include/generated"
     fi
     if [ -n "$BUILD_PARAMS" ]; then
         CFLAGS="$CFLAGS -D$BUILD_PARAMS"
Regards
Platinumviper
Platinumviper is offline   Reply With Quote