31 lines
1.6 KiB
Diff
31 lines
1.6 KiB
Diff
diff -Nru NVIDIA-Linux-x86-304.116.orig/kernel/conftest.sh NVIDIA-Linux-x86-304.116/kernel/conftest.sh
|
|
--- NVIDIA-Linux-x86-304.116.orig/kernel/conftest.sh 2013-10-29 04:43:06.000000000 +0100
|
|
+++ NVIDIA-Linux-x86-304.116/kernel/conftest.sh 2013-12-02 01:17:55.228531516 +0100
|
|
@@ -125,7 +125,7 @@
|
|
|
|
if [ "$OUTPUT" != "$SOURCES" ]; then
|
|
MACH_CFLAGS="-I$HEADERS/asm-$ARCH/mach-default"
|
|
- if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
|
|
+ if [ "$ARCH" = "x86" -o "$ARCH" = "x86_64" ]; then
|
|
MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/asm-x86/mach-default"
|
|
MACH_CFLAGS="$MACH_CFLAGS -I$SOURCES/arch/x86/include/asm/mach-default"
|
|
MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/arch/x86/include/uapi"
|
|
@@ -139,7 +139,7 @@
|
|
fi
|
|
else
|
|
MACH_CFLAGS="-I$HEADERS/asm/mach-default"
|
|
- if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
|
|
+ if [ "$ARCH" = "x86" -o "$ARCH" = "x86_64" ]; then
|
|
MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/asm-x86/mach-default"
|
|
MACH_CFLAGS="$MACH_CFLAGS -I$SOURCES/arch/x86/include/asm/mach-default"
|
|
MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/arch/x86/include/uapi"
|
|
@@ -156,7 +156,7 @@
|
|
CFLAGS="$BASE_CFLAGS $MACH_CFLAGS $OUTPUT_CFLAGS $AUTOCONF_CFLAGS"
|
|
CFLAGS="$CFLAGS -I$HEADERS -I$HEADERS/uapi -I$OUTPUT/include/generated/uapi"
|
|
|
|
- if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
|
|
+ if [ "$ARCH" = "x86" -o "$ARCH" = "x86_64" ]; then
|
|
CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include"
|
|
CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include/uapi"
|
|
CFLAGS="$CFLAGS -I$OUTPUT/arch/x86/include/generated"
|