Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 321061 | Differences between
and this patch

Collapse All | Expand All

(-)NVIDIA-Linux-x86-256.25-ori/kernel/conftest.sh (-3 / +3 lines)
Lines 101-107 build_cflags() { Link Here
101
101
102
    if [ "$OUTPUT" != "$SOURCES" ]; then
102
    if [ "$OUTPUT" != "$SOURCES" ]; then
103
        MACH_CFLAGS="-I$HEADERS/asm-$ARCH/mach-default"
103
        MACH_CFLAGS="-I$HEADERS/asm-$ARCH/mach-default"
104
        if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
104
        if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" -o "$ARCH" = "x86" ]; then
105
            MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/asm-x86/mach-default"
105
            MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/asm-x86/mach-default"
106
            MACH_CFLAGS="$MACH_CFLAGS -I$SOURCES/arch/x86/include/asm/mach-default"
106
            MACH_CFLAGS="$MACH_CFLAGS -I$SOURCES/arch/x86/include/asm/mach-default"
107
        fi
107
        fi
Lines 110-116 build_cflags() { Link Here
110
        fi
110
        fi
111
    else
111
    else
112
        MACH_CFLAGS="-I$HEADERS/asm/mach-default"
112
        MACH_CFLAGS="-I$HEADERS/asm/mach-default"
113
        if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
113
        if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" -o "$ARCH" = "x86" ]; then
114
            MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/asm-x86/mach-default"
114
            MACH_CFLAGS="$MACH_CFLAGS -I$HEADERS/asm-x86/mach-default"
115
            MACH_CFLAGS="$MACH_CFLAGS -I$SOURCES/arch/x86/include/asm/mach-default"
115
            MACH_CFLAGS="$MACH_CFLAGS -I$SOURCES/arch/x86/include/asm/mach-default"
116
        fi
116
        fi
Lines 121-127 build_cflags() { Link Here
121
121
122
    CFLAGS="$BASE_CFLAGS $MACH_CFLAGS $OUTPUT_CFLAGS -I$HEADERS $AUTOCONF_CFLAGS"
122
    CFLAGS="$BASE_CFLAGS $MACH_CFLAGS $OUTPUT_CFLAGS -I$HEADERS $AUTOCONF_CFLAGS"
123
123
124
    if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" ]; then
124
    if [ "$ARCH" = "i386" -o "$ARCH" = "x86_64" -o "$ARCH" = "x86" ]; then
125
        CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include"
125
        CFLAGS="$CFLAGS -I$SOURCES/arch/x86/include"
126
    fi
126
    fi
127
    if [ -n "$BUILD_PARAMS" ]; then
127
    if [ -n "$BUILD_PARAMS" ]; then

Return to bug 321061