[asterisk-commits] kpfleming: branch group/new_loader_completion r40555 - /team/group/new_loader...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sat Aug 19 16:24:19 MST 2006


Author: kpfleming
Date: Sat Aug 19 18:24:18 2006
New Revision: 40555

URL: http://svn.digium.com/view/asterisk?rev=40555&view=rev
Log:
make parallel and embedded module builds work properly

Modified:
    team/group/new_loader_completion/Makefile

Modified: team/group/new_loader_completion/Makefile
URL: http://svn.digium.com/view/asterisk/team/group/new_loader_completion/Makefile?rev=40555&r1=40554&r2=40555&view=diff
==============================================================================
--- team/group/new_loader_completion/Makefile (original)
+++ team/group/new_loader_completion/Makefile Sat Aug 19 18:24:18 2006
@@ -283,6 +283,12 @@
 	@$(MAKE) -s $(MOD_SUBDIRS_EMBED_LIBS)
 
 $(SUBDIRS): depend makeopts.embed_rules
+
+# ensure that all module subdirectories are processed before 'main' during
+# a parallel build, since if there are modules selected to be embedded the
+# directories containing them must be completed before the main Asterisk
+# binary can be built
+main: $(filter-out main,$(MOD_SUBDIRS))
 
 $(MOD_SUBDIRS):
 	@CFLAGS="$(MOD_SUBDIR_CFLAGS)$(ASTCFLAGS)" $(MAKE) -C $@ SUBDIR=$@ all



More information about the asterisk-commits mailing list