Lines 218-225
Link Here
|
218 |
# UTS-define is in external version-*.h files, i.e. linux-2.2.14-5.0-RedHat does this flaw |
218 |
# UTS-define is in external version-*.h files, i.e. linux-2.2.14-5.0-RedHat does this flaw |
219 |
kernel_release=`cat $linuxincludes/linux/version-*.h | grep UTS_RELEASE | grep \"$OsRelease\" | cut -d'"' -f2` |
219 |
kernel_release=`cat $linuxincludes/linux/version-*.h | grep UTS_RELEASE | grep \"$OsRelease\" | cut -d'"' -f2` |
220 |
else |
220 |
else |
221 |
# For 2.6.18 or higher, UTS-define is defined in utsrelease.h. |
221 |
# For 2.6.32 or higher, UTS-define is defined in utsrelease.h. |
222 |
kernel_release=`cat $linuxincludes/linux/utsrelease.h | grep UTS_RELEASE | grep \"$OsRelease\" | cut -d'"' -f2` |
222 |
kernel_release=`cat $linuxincludes/generated/utsrelease.h | grep UTS_RELEASE | grep \"$OsRelease\" | cut -d'"' -f2` |
223 |
fi |
223 |
fi |
224 |
fi |
224 |
fi |
225 |
fi |
225 |
fi |
Lines 300-308
Link Here
|
300 |
fi |
300 |
fi |
301 |
|
301 |
|
302 |
# 3 |
302 |
# 3 |
303 |
# linux/autoconf.h may contain this: #define CONFIG_SMP 1 |
303 |
# generated/autoconf.h may contain this: #define CONFIG_SMP 1 |
304 |
|
304 |
|
305 |
src_file=$linuxincludes/linux/autoconf.h |
305 |
src_file=$linuxincludes/generated/autoconf.h |
306 |
|
306 |
|
307 |
if [ ! -e $src_file ]; then |
307 |
if [ ! -e $src_file ]; then |
308 |
echo "Warning:" >> $logfile |
308 |
echo "Warning:" >> $logfile |
Lines 354-361
Link Here
|
354 |
|
354 |
|
355 |
MODVERSIONS=0 |
355 |
MODVERSIONS=0 |
356 |
|
356 |
|
357 |
# linux/autoconf.h may contain this: #define CONFIG_MODVERSIONS 1 |
357 |
# generated/autoconf.h may contain this: #define CONFIG_MODVERSIONS 1 |
358 |
src_file=$linuxincludes/linux/autoconf.h |
358 |
src_file=$linuxincludes/generated/autoconf.h |
359 |
if [ ! -e $src_file ]; |
359 |
if [ ! -e $src_file ]; |
360 |
then |
360 |
then |
361 |
echo "Warning:" >> $logfile |
361 |
echo "Warning:" >> $logfile |