Build System: Prevent unneeded changes to asterisk/buildopts.h.
authorCorey Farrell <git@cfware.com>
Wed, 29 Apr 2015 08:03:00 +0000 (04:03 -0400)
committerCorey Farrell <git@cfware.com>
Wed, 29 Apr 2015 08:03:00 +0000 (04:03 -0400)
commit5d997ecc83a9e20457f172b20456da40e4ca57a1
tree0ff5760344066ad68f036bf3f2752a9c0d76dae9
parent2415e94b07a7ab8658fadcec93578bfd2665273c
Build System: Prevent unneeded changes to asterisk/buildopts.h.

* Add AST_DEVMODE to BUILDOPTS
* Use BUILDOPTS to generate AST_BUILDOPT_SUM.
* Remove loop that defined AST_MODULE_*

These changes ensure that only ABI effecting options are considered for
AST_BUILDOPT_SUM.  This also reduces unneeded full system rebuilds caused
by enabling or disabling one module that another is dependent on.

ASTERISK-25028 #close
Reported by: Corey Farrell

Change-Id: I2c516d93df9f6aaa09ae079a8168c887a6ff93a2
build_tools/make_buildopts_h