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

Andrei Pelinescu-Onciul andrei at iptel.org
Mon Apr 20 16:36:12 CEST 2009


On Apr 20, 2009 at 17:17, Juha Heinanen <jh at tutpro.com> wrote:
> Andrei Pelinescu-Onciul writes:
> 
>  > If what you want is to compile only enum and dialplan:
>  > make modules-cfg modules="modules/enum modules/dialplan" modules_s="" modules_k=""
> 
> andrei,
> 
> it would be nice if i could achieve the same just be editing modules.lst
> somehow, i.e., list there which modules and s and k modules i want to
> make.  for example, there could be lines
> 
> modules=
> modules_k=
> modules_s=

But you could do just that, edit it, delete module, modules_k and
module_s and replace them like above.

> 
> and if any of them is non-empty, then those listed will get compiled.
> 
> excluded_modules makes nowadays little sense, since an average user uses
> less than half of the modules.

exclude_modules is for modules that depend on external stuff (which is
less probable to have installed), modules that do not compile a.s.o.

We have also another mechanism: modules groups, e.g.:
make print-modules group_include=mysql
...
modules/: acc_db auth_db avp_db db_ops uri_db domain lcr msilo mysql
speeddial
...

make modules-cfg group_include="mysql standard"
=> all normal modules + mysql.

Right now the groups are not updated for sr, but we can easily do it
(and create more of them if needed).
So far the following groups are defined: standard, standard_dep (modules
that depend on external stuff, but which are likely to be needed), mysql,
radius, presence, stable, experimental.


Andrei



More information about the sr-dev mailing list