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

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Mar 24 11:12:45 MST 2007


On Sat, Mar 24, 2007 at 01:22:20PM -0400, Kristian Kielhofner wrote:
> On 3/24/07, Kristian Kielhofner <kristian.kielhofner at gmail.com> wrote:
> >On 3/24/07, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
> >>
> >> Any reference to the supported makefile format? What about building
> >> subdirectories?

> DIRS_MODULES = $(SOMEDIR) $(OTHERDIR)
> PWD=$(shell pwd)

I'm not sure if this is good or bad. I recall it breaks some stuff, but
I can't recall what exactly.

> 
> modules:
> ifdef LINUX24
>       for i in $(DIRS_MODULES); do \
>               $(MAKE) -C $$i || exit 1; \
>       done

Basically what I have in the kernelmove branch: for kernel <= 2.4 you
use your own custom makefiles.

> else
>       $(MAKE) -C $(KERNELPATH) SUBDIRS=$(PWD) modules
> endif
 
x For 2.6, you use Kbuild .

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-dev mailing list