[SR-Dev] compile only a given list of modules

Andrei Pelinescu-Onciul andrei at iptel.org
Mon May 25 20:51:25 CEST 2009


On May 25, 2009 at 21:42, Juha Heinanen <jh at tutpro.com> wrote:
> Andrei Pelinescu-Onciul writes:
> 
>  > Have you tried make modules or make all afterwards?
> 
> no, but when i now tried, enum and diaplan got compiled.  i wonder why
> 
> make modules-cfg modules="modules/enum modules/dialplan" modules_s="" modules_k=""
> 
> does not itself compile anything.  i tried it even after first running

Because it's purpose is only to configure the module list on which all
subsequent make commands will work.
If you want to configure the modules list and compile in the same time
you could use either:

make modules-cfg .... ; make modules

or

rm modules.lst ; make modules modules="modules/enum modules/dialplan"

If you want to compile some modules, without "saving" them in the module
list, you could use make modules modules="modules/enum modules/dialplan"
 (which will not save anything if modules.lst exists).

> 
> make clean
> make proper
> rm modules.lst
> 

Andrei



More information about the sr-dev mailing list