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

Collapse All | Expand All

(-)kernel/conftest.sh.old (-2 / +8 lines)
Lines 1697-1709 Link Here
1697
                # kernel older than 2.6.6, that's all we require to
1697
                # kernel older than 2.6.6, that's all we require to
1698
                # build the module.
1698
                # build the module.
1699
                #
1699
                #
1700
                VERSION=$(grep "^VERSION =" $MAKEFILE | cut -d " " -f 3)
1700
                PATCHLEVEL=$(grep "^PATCHLEVEL =" $MAKEFILE | cut -d " " -f 3)
1701
                PATCHLEVEL=$(grep "^PATCHLEVEL =" $MAKEFILE | cut -d " " -f 3)
1701
                SUBLEVEL=$(grep "^SUBLEVEL =" $MAKEFILE | cut -d " " -f 3)
1702
                SUBLEVEL=$(grep "^SUBLEVEL =" $MAKEFILE | cut -d " " -f 3)
1702
1703
1703
                if [ -n "$PATCHLEVEL" -a $PATCHLEVEL -ge 6 \
1704
                if [ -n "$VERSION" -a $VERSION -ge 3 ]; then
1704
                        -a -n "$SUBLEVEL" -a $SUBLEVEL -le 5 ]; then
1705
                    SELECTED_MAKEFILE=Makefile.kbuild
1705
                    SELECTED_MAKEFILE=Makefile.kbuild
1706
                    RET=0
1706
                    RET=0
1707
                else
1708
                    if [ -n "$PATCHLEVEL" -a $PATCHLEVEL -ge 6 \
1709
                            -a -n "$SUBLEVEL" -a $SUBLEVEL -le 5 ]; then
1710
                        SELECTED_MAKEFILE=Makefile.kbuild
1711
                        RET=0
1712
                    fi
1707
                fi
1713
                fi
1708
            fi
1714
            fi
1709
        fi
1715
        fi

Return to bug 447566