Lines 78-84
Link Here
|
78 |
|
78 |
|
79 |
UTS_RELEASE="`awk '/UTS_RELEASE/ {print $3}' $kernel/include/linux/version.h | sed -e 's/\\"//g' | sed -n '$p'`" |
79 |
UTS_RELEASE="`awk '/UTS_RELEASE/ {print $3}' $kernel/include/linux/version.h | sed -e 's/\\"//g' | sed -n '$p'`" |
80 |
MAJOR=`echo $UTS_RELEASE | cut -nb 1,3 -` |
80 |
MAJOR=`echo $UTS_RELEASE | cut -nb 1,3 -` |
81 |
if test `expr $MAJOR` -ge 24; then |
81 |
if test `expr $MAJOR` >= 24; then |
82 |
echo "yes [$UTS_RELEASE]" |
82 |
echo "yes [$UTS_RELEASE]" |
83 |
else |
83 |
else |
84 |
echo "no" |
84 |
echo "no" |
Lines 86-95
Link Here
|
86 |
echo "*** Linux kernel 2.4.0 or higher required" |
86 |
echo "*** Linux kernel 2.4.0 or higher required" |
87 |
FAILS=`expr $FAILS + 1` |
87 |
FAILS=`expr $FAILS + 1` |
88 |
fi |
88 |
fi |
89 |
|
89 |
echo "MAJOR = $MAJOR" |
90 |
echo -n "Using bttv sources in... " |
90 |
echo -n "Using bttv sources in... " |
91 |
|
91 |
|
92 |
if test `expr $MAJOR` -ge 26; then |
92 |
if test `expr $MAJOR` >= 26; then |
93 |
bttvdir="bttv-2.6" |
93 |
bttvdir="bttv-2.6" |
94 |
else |
94 |
else |
95 |
bttvdir="bttv-2.4" |
95 |
bttvdir="bttv-2.4" |
Lines 152-158
Link Here
|
152 |
if [ -r $kernel/.depend ]; then |
152 |
if [ -r $kernel/.depend ]; then |
153 |
echo "found" |
153 |
echo "found" |
154 |
else |
154 |
else |
155 |
if test `expr $MAJOR` -ge 26; then |
155 |
if test `expr $MAJOR` >= 26; then |
156 |
echo "not needed for 2.6.x kernels" |
156 |
echo "not needed for 2.6.x kernels" |
157 |
else |
157 |
else |
158 |
echo "not found" |
158 |
echo "not found" |