2024-01-06 07:46:49 +01:00
|
|
|
diff -Nru NVIDIA-Linux-x86-331.20.orig/kernel/conftest.sh NVIDIA-Linux-x86-331.20/kernel/conftest.sh
|
|
|
|
--- NVIDIA-Linux-x86-331.20.orig/kernel/conftest.sh 2013-10-31 01:30:27.000000000 +0100
|
|
|
|
+++ NVIDIA-Linux-x86-331.20/kernel/conftest.sh 2013-12-02 01:03:17.234157468 +0100
|
|
|
|
@@ -175,7 +175,7 @@
|
2024-01-06 07:46:49 +01:00
|
|
|
|
|
|
|
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"
|
2024-01-06 07:46:49 +01:00
|
|
|
@@ -189,7 +189,7 @@
|
2024-01-06 07:46:49 +01:00
|
|
|
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"
|
2024-01-06 07:46:49 +01:00
|
|
|
@@ -206,7 +206,7 @@
|
2024-01-06 07:46:49 +01:00
|
|
|
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"
|