[asterisk-commits] kpfleming: trunk r70794 - /trunk/build_tools/make_buildopts_h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 21 14:08:09 CDT 2007


Author: kpfleming
Date: Thu Jun 21 14:08:09 2007
New Revision: 70794

URL: http://svn.digium.com/view/asterisk?view=rev&rev=70794
Log:
when we are building modules that other modules depend on, create preprocessor defines (in buildopts.h) marking that those modules were built

Modified:
    trunk/build_tools/make_buildopts_h

Modified: trunk/build_tools/make_buildopts_h
URL: http://svn.digium.com/view/asterisk/trunk/build_tools/make_buildopts_h?view=diff&rev=70794&r1=70793&r2=70794
==============================================================================
--- trunk/build_tools/make_buildopts_h (original)
+++ trunk/build_tools/make_buildopts_h Thu Jun 21 14:08:09 2007
@@ -11,6 +11,11 @@
 for x in ${TMP}; do
 	echo "#define ${x} 1"
 done
+TMP=`grep MENUSELECT_BUILD_DEPS menuselect.makeopts | sed 's/MENUSELECT_BUILD_DEPS\=//g'`
+for x in ${TMP}; do
+	x2=`echo ${x} | tr a-z A-Z`
+	echo "#define AST_MODULE_${x2} 1"
+done
 if grep AST_DEVMODE makeopts | grep -q yes
 then
 	echo "#define AST_DEVMODE 1"




More information about the asterisk-commits mailing list