gen_makefile: fix dependency file list

The configure step naturally depends on and *.in files. However,
the automake process also generates 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:
Neels Hofmeyr 2019-02-12 15:02:59 +01:00
parent 24ddf9c941
commit 6257d9ec79
1 changed files with 1 additions and 1 deletions

View File

@ -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 "" -or -name "*.in" )
{proj}_configure_files := $(shell find {src_proj} -name "" -or -name "*.in" -and -not -name "" )
{proj}_files := $(shell find {src_proj} -name "*.[hc]" -or -name "*.py" -or -name "*.cpp" )