-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3212/
-----------------------------------------------------------
Review request for Asterisk Developers.
Repository: Asterisk
Description
-------
When I want to test that my svn-merged code works, I look at the diff and I
check that the compilation succeeds.
The quickest way is then to build only the subdirectory where the changed code
resides.
E.g. when changing something in res_config_pgsql.so:
make res
However, when something is changed in main, it will compile *all* the other
dirs first. Making me wait.
ifeq ($(findstring $(OSARCH), mingw32 cygwin ),)
# Non-windows:
# 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))
I doubt that more than 1% of the people uses embedded modules. Don't make the
rest of us wait!
This change adds a second check for the $(MENUSELECT_EMBED) variable: if it is
empty, we do not add the dependency.
Diffs
-----
/trunk/Makefile 407969
Diff: https://reviewboard.asterisk.org/r/3212/diff/
Testing
-------
Ran a bunch of make, make clean, make distclean, make main, with and without
module embedding selected.
If any module is embedded, the dependency is enforced like before.
If no module embedding is selected, main compiles directly.
Thanks,
wdoekes
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev