mirror of https://gerrit.osmocom.org/osmo-dev
gen_makefile: fix dependency file list
The configure step naturally depends on Makefile.am and *.in files. However, the automake process also generates Makefile.in files: exclude those from *.in. This fixes spurious unnecessary rebuilds: especially when libosmocore had modifications, it often rebuilt *twice* after this (causing all of the other source trees to rebuild as well). Change-Id: Ia6f48ac9a8b300440d23c9b495fb39b5e40b59d8
This commit is contained in:
parent
24ddf9c941
commit
6257d9ec79
|
@ -167,7 +167,7 @@ def gen_make(proj, deps, configure_opts, jobs, make_dir, src_dir, build_dir, url
|
|||
return r'''
|
||||
### {proj} ###
|
||||
|
||||
{proj}_configure_files := $(shell find {src_proj} -name "Makefile.am" -or -name "*.in" )
|
||||
{proj}_configure_files := $(shell find {src_proj} -name "Makefile.am" -or -name "*.in" -and -not -name "Makefile.in" )
|
||||
{proj}_files := $(shell find {src_proj} -name "*.[hc]" -or -name "*.py" -or -name "*.cpp" )
|
||||
|
||||
.make.{proj}.clone:
|
||||
|
|
Loading…
Reference in New Issue