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

Collapse All | Expand All

(-)NVIDIA-Linux-x86_64-190.53-pkg2/usr/src/nv/conftest.sh (-5 / +5 lines)
Lines 32-45 Link Here
32
    # CONFIG_XEN and CONFIG_PARAVIRT are present, text_xen() treats
32
    # CONFIG_XEN and CONFIG_PARAVIRT are present, text_xen() treats
33
    # the kernel as a stand-alone kernel.
33
    # the kernel as a stand-alone kernel.
34
    #
34
    #
35
    FILE="linux/autoconf.h"
35
    FILE="generated/autoconf.h"
36
36
37
    if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then
37
    if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then
38
        #
38
        #
39
        # We are looking at a configured source tree; verify
39
        # We are looking at a configured source tree; verify
40
        # that it's not a Xen kernel.
40
        # that it's not a Xen kernel.
41
        #
41
        #
42
        echo "#include <linux/autoconf.h>
42
        echo "#include <generated/autoconf.h>
43
        #if defined(CONFIG_XEN) && !defined(CONFIG_PARAVIRT)
43
        #if defined(CONFIG_XEN) && !defined(CONFIG_PARAVIRT)
44
        #error CONFIG_XEN defined!
44
        #error CONFIG_XEN defined!
45
        #endif
45
        #endif
Lines 111-117 Link Here
111
    fi
111
    fi
112
}
112
}
113
113
114
CONFTEST_PREAMBLE="#include <linux/autoconf.h>
114
CONFTEST_PREAMBLE="#include <generated/autoconf.h>
115
    #if defined(CONFIG_XEN) && \
115
    #if defined(CONFIG_XEN) && \
116
        defined(CONFIG_XEN_INTERFACE_VERSION) &&  !defined(__XEN_INTERFACE_VERSION__)
116
        defined(CONFIG_XEN_INTERFACE_VERSION) &&  !defined(__XEN_INTERFACE_VERSION__)
117
    #define __XEN_INTERFACE_VERSION__ CONFIG_XEN_INTERFACE_VERSION
117
    #define __XEN_INTERFACE_VERSION__ CONFIG_XEN_INTERFACE_VERSION
Lines 1375-1381 Link Here
1375
        #
1375
        #
1376
        RET=1
1376
        RET=1
1377
        VERBOSE=$6
1377
        VERBOSE=$6
1378
        FILE="linux/autoconf.h"
1378
        FILE="generated/autoconf.h"
1379
1379
1380
        if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then
1380
        if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then
1381
            #
1381
            #
Lines 1429-1435 Link Here
1429
        #
1429
        #
1430
        RET=1
1430
        RET=1
1431
        VERBOSE=$6
1431
        VERBOSE=$6
1432
        FILE="linux/autoconf.h"
1432
        FILE="generated/autoconf.h"
1433
1433
1434
        if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then
1434
        if [ -f $HEADERS/$FILE -o -f $OUTPUT/include/$FILE ]; then
1435
            #
1435
            #

Return to bug 296272