[asterisk-users] Zaptel & multiple kernels

Philipp Kempgen philipp.kempgen at amooma.de
Tue Jan 13 08:03:04 CST 2009


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?


   Philipp Kempgen

-- 
AMOOCON 2009, May 4-5, Rostock / Germany   ->  http://www.amoocon.de
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
-- 



More information about the asterisk-users mailing list