]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
pjproject_bundled: Reduce the need for rebuilds
authorGeorge Joseph <gjoseph@digium.com>
Sat, 11 Mar 2017 02:29:04 +0000 (19:29 -0700)
committerGeorge Joseph <gjoseph@digium.com>
Sat, 11 Mar 2017 02:30:29 +0000 (19:30 -0700)
Bundled pjproject should now only rebuild if one of the menuselect
"Compiler Flags" options changes.

Change-Id: If114a2e16b9e77af371a600d6a5e197bbf28fe43

third-party/pjproject/Makefile

index bfd1c27fc522359c5d60725b25d6158e086b2c17..99c22fa8be67e753ba0ef3994605ed6777c95149 100644 (file)
@@ -135,7 +135,7 @@ source/pjlib/include/pj/%.h: patches/%.h
        $(ECHO_PREFIX) Applying custom include file $<
        $(CMD_PREFIX) cp -f $< source/pjlib/include/pj/
 
-.rebuild_needed: $(wildcard ../../makeopts) $(wildcard ../../menuselect.makeopts)
+.rebuild_needed: $(wildcard ../../.lastclean)
        $(ECHO_PREFIX) Rebuilding
        $(CMD_PREFIX) $(MAKE) clean $(REALLY_QUIET)