From: Heiko Z. <he...@zu...> - 2003-11-07 18:31:21
|
> On Fri, Nov 07, 2003 at 09:22:01AM -0800, rap...@us... > wrote: >> + ./configure --with-isa-pnp=yes --with-oss=yes --with-sequencer=yes >> --with-cards=all --with-kernel=$WORKDIR/linux-2.4.22 >> --with-moddir=$CDDIR/lib/modules/2.4.22/misc --sysconfdir=$CDDIR/etc || >> exit 1 > > quite dangerous, since the script is dependand on the kernel version that > is going to be installed. any other way to do this? Check out the file build/settings . There is one variable KERNELVERSION (or so), but it will be name i.e. 2.4.22-grsec . It's the one you need to use for the modules. For the Kernel directory, check out the e100/e1000 scripts. You need to use a function call find_src or similar, but you'll see it in the example. -- Regards Heiko Zuerker http://www.devil-linux.org |