--- NVIDIA-Linux-x86-295.33/kernel/conftest.sh +++ NVIDIA-Linux-x86-295.33/kernel/conftest.sh @@ -101,7 +101,7 @@ if [ "$OUTPUT" != "$SOURCES" ]; then MACH_CFLAGS="-I$HEADERS/asm-$ARCH/mach-default" - if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then + if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" -o "$ARCH" = "x86" ]; then MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/asm-x86/mach-default" MACH_CFLAGS="$MACH_CFLAGS -I$SOURCES/arch/x86/include/asm/mach-default" elif [ "$ARCH" = "ARMv7" ]; then @@ -112,7 +112,7 @@ fi else MACH_CFLAGS="-I$HEADERS/asm/mach-default" - if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then + if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" -o "$ARCH" = "x86" ]; then MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/asm-x86/mach-default" MACH_CFLAGS="$MACH_CFLAGS -I$SOURCES/arch/x86/include/asm/mach-default" elif [ "$ARCH" = "ARMv7" ]; then @@ -125,7 +125,7 @@ CFLAGS="$BASE_CFLAGS $MACH_CFLAGS $OUTPUT_CFLAGS -I$HEADERS $AUTOCONF_CFLAGS" - if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then + if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" -o "$ARCH" = "x86" ]; then CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include -I$SOURCES/arch/x86/include/generated" elif [ "$ARCH" = "ARMv7" ]; then CFLAGS="$CFLAGS -I$SOURCES/arch/arm/include -I$SOURCES/arch/arm/include/generated"