Summary:ASTERISK-03959: [patch] allow zaptel compile against any installed kernel, not just the currently running one
Reporter:adsllc (adsllc)Labels:
Date Opened:2005-04-20 08:52:07Date Closed:2008-06-07 10:50:45
Versions:Frequency of
Environment:Attachments:( 0) kernelvariable.patch
Description:The current Makefile has several references to `uname -r` to specify where to build/install the modules.  These have been consolidated to the KERNEL_SOURCE variable to allow a user to compile against an arbitrary kernel.

For example:
make KERNEL_SOURCE=/lib/modules/2.6.11-1.14_FC3 install

When a new kernel is installed, this allows you to build your modules before rebooting, minimizing downtime.  This is especially true if a power outage causes a reboot when you're not ready.
Comments:By: Kevin P. Fleming (kpfleming) 2005-04-20 09:33:13

Slightly different fix committed to CVS HEAD, thanks! (In the future, please follow the bug posting guidelines and upload patches against HEAD, or HEAD and STABLE, not just STABLE).

By: Russell Bryant (russell) 2005-05-15 12:35:00

not included in 1.0 since it is a new feature

By: Digium Subversion (svnbot) 2008-06-07 10:50:45

Repository: dahdi
Revision: 628

U   trunk/Makefile

r628 | kpfleming | 2008-06-07 10:50:45 -0500 (Sat, 07 Jun 2008) | 2 lines

allow modules to be built and _installed_ against any installed kernel (bug ASTERISK-3959)