From: George Joseph Date: Sat, 11 Mar 2017 02:29:04 +0000 (-0700) Subject: pjproject_bundled: Reduce the need for rebuilds X-Git-Tag: 14.4.0-rc1~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c3f0073cce137132a2f8c7ce5b29d3749f55241;p=thirdparty%2Fasterisk.git pjproject_bundled: Reduce the need for rebuilds Bundled pjproject should now only rebuild if one of the menuselect "Compiler Flags" options changes. Change-Id: If114a2e16b9e77af371a600d6a5e197bbf28fe43 --- diff --git a/third-party/pjproject/Makefile b/third-party/pjproject/Makefile index bfd1c27fc5..99c22fa8be 100644 --- a/third-party/pjproject/Makefile +++ b/third-party/pjproject/Makefile @@ -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)