aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools/embed_modules.xml
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-17 07:25:35 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-17 07:25:35 +0000
commitd4e966efcc9e686f8066831695181b8fb197798a (patch)
treedfc78c051a3faabab03ba235d18d6e5ec1204ec6 /build_tools/embed_modules.xml
parentd1afe77d7da5e394e86d6188059097df8d5d3e4b (diff)
Merged revisions 93180 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r93180 | kpfleming | 2007-12-16 22:44:51 -0800 (Sun, 16 Dec 2007) | 23 lines In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html, rizzo brought up some issues related to the way that the metadata required for menuselect and the rest of the build system is extracted from the source files. Since I had a few hours to kill on an airplane today, I decided to improve this situation... so now the system caches the extracted metadata and uses it to build the menuselect 'tree' as much as it can. The result of this is that when a single source file is changed, only the metadata for that file needs to be extracted again, and the rest is used from the cache files. I also reduced the number of forked processes required to do the metadata extraction; it was actually possible to do most of what we needed in the Makefiles themselves without using any shell scripts at all! On my laptop, these changes resulted in an 80% decrease in the time required for the 'menuselect.makeopts' automatic check to occur after editing a single source file. While doing this work I also cleaned up a few minor things in the Makefiles, adding a check for 'awk' to the configure script and changed all remaining places we use 'grep' or 'awk' to use the ones found by the configure script, and changed the 'prep_tarball' script to build the menuselect metadata so that tarballs of Asterisk will include it and won't require the user to wait while it is extracted after unpacking. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@93184 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools/embed_modules.xml')
-rw-r--r--build_tools/embed_modules.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/build_tools/embed_modules.xml b/build_tools/embed_modules.xml
index e22cc7e19..054e1dfad 100644
--- a/build_tools/embed_modules.xml
+++ b/build_tools/embed_modules.xml
@@ -1,26 +1,26 @@
<category name="MENUSELECT_EMBED" displayname="Module Embedding" positive_output="yes" remove_on_change="main/asterisk">
- <member name="apps" displayname="Applications" remove_on_change="apps/*.o">
+ <member name="APPS" displayname="Applications" remove_on_change="apps/*.o">
<depend>gnu_ld</depend>
</member>
- <member name="cdr" displayname="Call Detail Recording" remove_on_change="cdr/*.o">
+ <member name="CDR" displayname="Call Detail Recording" remove_on_change="cdr/*.o">
<depend>gnu_ld</depend>
</member>
- <member name="channels" displayname="Channels" remove_on_change="channels/*.o channels/misdn/*.o">
+ <member name="CHANNELS" displayname="Channels" remove_on_change="channels/*.o channels/misdn/*.o">
<depend>gnu_ld</depend>
</member>
- <member name="codecs" displayname="Coders/Decoders" remove_on_change="codecs/*.o codecs/gsm/src/*.o codecs/ilbc/*.o codecs/lpc10/*.o codecs/gsm/lib/libgsm.a codecs/lpc10/liblpc10.a codecs/ilbc/libilbc.a codecs/g722/libg722.a">
+ <member name="CODECS" displayname="Coders/Decoders" remove_on_change="codecs/*.o codecs/gsm/src/*.o codecs/ilbc/*.o codecs/lpc10/*.o codecs/gsm/lib/libgsm.a codecs/lpc10/liblpc10.a codecs/ilbc/libilbc.a codecs/g722/libg722.a">
<depend>gnu_ld</depend>
</member>
- <member name="formats" displayname="File Formats" remove_on_change="formats/*.o">
+ <member name="FORMATS" displayname="File Formats" remove_on_change="formats/*.o">
<depend>gnu_ld</depend>
</member>
- <member name="funcs" displayname="Dialplan Functions" remove_on_change="funcs/*.o">
+ <member name="FUNCS" displayname="Dialplan Functions" remove_on_change="funcs/*.o">
<depend>gnu_ld</depend>
</member>
- <member name="pbx" displayname="PBX Functionality" remove_on_change="pbx/*.o pbx/ael/*.o">
+ <member name="PBX" displayname="PBX Functionality" remove_on_change="pbx/*.o pbx/ael/*.o">
<depend>gnu_ld</depend>
</member>
- <member name="res" displayname="Resource Modules" remove_on_change="res/*.o res/snmp/*.o">
+ <member name="RES" displayname="Resource Modules" remove_on_change="res/*.o res/snmp/*.o">
<depend>gnu_ld</depend>
</member>
</category>