Change the default kernel directory.

This commit is contained in:
solomon 2004-08-04 14:55:27 +00:00
parent 23645a991e
commit 10efbbce7c
3 changed files with 8 additions and 2 deletions

View file

@ -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

View file

@ -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

View file

@ -2,7 +2,7 @@ WLAN_VERSION=0
WLAN_PATCHLEVEL=2
WLAN_SUBLEVEL=1
WLAN_EXTRAVERSION=-pre21
LINUX_SRC=/usr/src/linux
#LINUX_SRC=/usr/src/linux
PCMCIA_SRC=
PREFIX=
INST_EXEDIR=/sbin