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? 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 --
Philipp Kempgen schrieb:> If I have multiple kernel sources in /usr/src, e.g.headers> 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?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 --
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