[asterisk-dev] Re: zaptel 1.4.1 gendigits + HOSTCC

David Woodhouse dwmw2 at infradead.org
Sat Mar 24 04:16:45 MST 2007


On Fri, 2007-03-23 at 13:20 +0200, Tzafrir Cohen wrote:
> 
> There is evengreater confusion because we try to combine three
> separate
> makefile into one:
> 
> 1. Userspace utilities (such as ztmonitor and ztcfg).
> 2. Kernel 2.6 modules. Done by recursively calling the kernel build
> system. The kernel build system is supposed to ignore most of the
> variables. Hopefully.
> 3. Kernel 2.4 modules. 

Kernel 2.4 modules can (and should) also be built using the
'make -C /lib/modules/$VERSION/build SUBDIRS=`pwd`' trick.

Using your own rules to build kernel modules has been wrong for a _very_
long time.

-- 
dwmw2



More information about the asterisk-dev mailing list