Change the default kernel directory.
This commit is contained in:
parent
23645a991e
commit
10efbbce7c
1
CHANGES
1
CHANGES
|
@ -41,6 +41,7 @@
|
|||
* Intersil Corporation as part of PRISM(R) chipset product development.
|
||||
*
|
||||
* --------------------------------------------------------------------
|
||||
- Tweak the Configure script; change the default kernel build directory
|
||||
- put a 'sleep 1' in the firmware load sequence to improve reliability.
|
||||
(Arnold Liu)
|
||||
- Add Linksys WUSB11 card ident
|
||||
|
|
|
@ -223,6 +223,12 @@ $ECHO ""
|
|||
#=======================================================================
|
||||
# Collect the kernel source tree and test for sanity
|
||||
|
||||
CUR_RELEASE=`uname -r`
|
||||
|
||||
if [ "$LINUX_SRC" = "" ] ; then
|
||||
LINUX_SRC=/lib/modules/$CUR_RELEASE/build
|
||||
fi
|
||||
|
||||
ask_str "Linux source directory" LINUX_SRC
|
||||
|
||||
if [ ! -f $LINUX_SRC/include/linux/version.h ] ; then
|
||||
|
@ -264,7 +270,6 @@ if [ $VERSION_CODE -gt `version 2 5 0` ] ; then
|
|||
write_bool KERN_25
|
||||
fi
|
||||
|
||||
CUR_RELEASE=`uname -r`
|
||||
if [ "$SRC_RELEASE" != "$CUR_RELEASE" ] ; then
|
||||
$ECHO "WARNING: the current running kernel is actually version $CUR_RELEASE."
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue