[asterisk-users] Zaptel & multiple kernels

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Jan 13 07:39:51 CST 2009


On Tue, Jan 13, 2009 at 02:31:28PM +0100, Philipp Kempgen wrote:
> Hi,
> 
> 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?
> 
> 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?

By default:  /lib/modules/$KVERS/build

KVERS default to your kernel revision. e.g. `uname -r`, 2.6.26-1-686 .

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.

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