[asterisk-users] Zaptel & multiple kernels

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Jan 13 08:29:31 CST 2009


On Tue, Jan 13, 2009 at 03:03:04PM +0100, Philipp Kempgen wrote:
> Tzafrir Cohen schrieb:
> > On Tue, Jan 13, 2009 at 02:31:28PM +0100, Philipp Kempgen wrote:
> >> If I have multiple kernel sources in /usr/src, e.g.
> >>   linux-headers-2.6.26-1-686
> >>   linux-headers-2.6.26.custom.1
> >> how does the Zaptel Makefile(?) know which one to pick?
> 
> > By default:  /lib/modules/$KVERS/build
> > 
> > KVERS default to your kernel revision. e.g. `uname -r`, 2.6.26-1-686 .
> 
> `uname -r` of the _running_ kernel that is? Good.
> 
> > This link will point to the appripriate "linux-headers" directory.
> > 
> > If you build your own kernel and install it using the kernel's 'install'
> > target, the 'build' link will point to your source tree.
> 
> It does.
> /lib/modules/2.6.26.custom.1/build -> /usr/src/linux-source-2.6.26
> 
> >> Is it a good approach to compile the kernel first and then compile
> >> Zaptel "manually" afterwards?
> >> Or should I rather put zaptel in /usr/src/modules and use
> >>   fakeroot make-kpkg ... modules_image
> >> in the kernel sources?
> 
> What about that?

In the worst case, set KSRC explicitly.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list