summaryrefslogtreecommitdiff
path: root/res/Makefile
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2007-12-17 07:25:35 +0000
committerKevin P. Fleming <kpfleming@digium.com>2007-12-17 07:25:35 +0000
commit100ef27af920de05dec41cdf281c3a9b8172d68f (patch)
treedfc78c051a3faabab03ba235d18d6e5ec1204ec6 /res/Makefile
parentf483cf28bbde151d07a1e14dd885b5c63e137a33 (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: https://origsvn.digium.com/svn/asterisk/trunk@93184 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/Makefile')
-rw-r--r--res/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/res/Makefile b/res/Makefile
index 7dc1b97ac..cfac3183a 100644
--- a/res/Makefile
+++ b/res/Makefile
@@ -11,7 +11,9 @@
-include $(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps
-MODULE_PREFIX=res_
+MODULE_PREFIX=res
+MENUSELECT_CATEGORY=RES
+MENUSELECT_DESCRIPTION=Resource Modules
all: _all