[SR-Dev] compile only a given list of modules
Andrei Pelinescu-Onciul
andrei at iptel.org
Mon May 25 20:29:25 CEST 2009
On May 24, 2009 at 14:07, Juha Heinanen <jh at tutpro.com> wrote:
> i'm returning to the old issue on how to compile core and given list of
> modules.
>
> andrei wrote:
>
> > > If what you want is to compile only enum and dialplan:
> > > make modules-cfg modules="modules/enum modules/dialplan" modules_s="" modules_k=""
>
> if i try that, nothing happens:
>
> $ make modules-cfg modules="modules/enum modules/dialplan" modules_s="" modules_k=""
> config.mak loaded
> Makefile.defs defs skipped
> rm -f modules.lst
> make modules.lst
> config.mak loaded
> Makefile.defs defs skipped
> make[1]: Entering directory `/usr/src/orig/sip-router/trunk'
> saving modules list...
> make[1]: Leaving directory `/usr/src/orig/sip-router/trunk'
Have you tried make modules or make all afterwards?
For me it works perfectly:
$ make modules-cfg modules="modules/enum modules/dialplan" modules_s=""
modules_k=""
$ make modules
=> only enum and dialplan are compiled.
>
> i also tried to edit modules.lst and set
>
> modules= modules/enum modules/dialplan
> modules_s=
> modules_k=
This is equivalent to the make modules-cfg line a above.
Andrei
More information about the sr-dev
mailing list