Summary:ASTERISK-07399: [patch] Only check for kernel sources if you are building some modules
Reporter:Jeffrey C. Ollie (jcollie)Labels:
Date Opened:2006-07-25 23:54:01Date Closed:2008-06-07 11:43:08
Versions:Frequency of
Environment:Attachments:( 0) zaptel-no-module.patch
Description:If you have unselected all of the kernel modules in menuselect, the current makefile will still try and build the "modules" target, which then select the "linux26" target on my system, which checks for the kernel sources.  I'll attach a  patch that will prevent the "modules" target from being selected if there are no modules to be built.
Comments:By: Russell Bryant (russell) 2006-07-26 12:42:29

added to the trunk in rev 1246, thanks!

By: Digium Subversion (svnbot) 2008-06-07 11:43:08

Repository: dahdi
Revision: 1246

U   trunk/Makefile

r1246 | russell | 2008-06-07 11:43:08 -0500 (Sat, 07 Jun 2008) | 4 lines

tweak the Makefile so that if no kernel modules are selected, it doesn't do any
checks looking for kernel sources so that the zaptel utilities can be built
without any kernel sources installed (issue ASTERISK-7399, jcollie)