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'
i also tried to edit modules.lst and set
modules= modules/enum modules/dialplan modules_s= modules_k=
but no luck.
i don't want to use exclude_modules, because that is a moving target.
-- juha
On May 24, 2009 at 14:07, Juha Heinanen jh@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
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
make clean make proper rm modules.lst
-- juha
On May 25, 2009 at 21:42, Juha Heinanen jh@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