Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:makefile-system [2010/01/14 11:42]
85.178.129.31
tutorials:makefile-system [2011/12/09 23:25] (current)
208.86.215.38 old revision restored
Line 56: Line 56:
   * you can edit it and tune as you wish before compilation   * you can edit it and tune as you wish before compilation
  
-==== Enable Module ====+===== Enable Module =====
  
 If the module is not compiled by default: If the module is not compiled by default:
Line 63: Line 63:
   * remove the name of the module from **exclude_modules** variable   * remove the name of the module from **exclude_modules** variable
  
-==== Combined Parameters ====+or type: <code>make modules-cfg include_modules=<name_of_the_module></code>
 + 
 +The same can be accomplished with <code>make cfg include_modules=<name_of_the_module> </code> 
 +, but this will remake the whole config.  
 + 
 +===== Combined Parameters =====
  
 Various parameters can be given to make command, an example: Various parameters can be given to make command, an example:
Line 75: Line 80:
      all      all
  
 +</code>
 +
 +
 +or you can save them in the config (they will be used by future make invocations) by givin the same parameters to make cfg:
 +<code c>
 +make cfg prefix=/opt/sip-router \
 +     SCTP=1 \
 +     CC_EXTRA_OPTS=-I/usr/gnu/include \
 +     group_include="standard postgres presence" \
 +     include_modules="snmpstats perl tls"
 </code> </code>
  

Navigation

Wiki

Other

QR Code
QR Code tutorials:makefile-system (generated for current page)