mirror of https://gerrit.osmocom.org/osmo-dev
gen_makefile.py: follow symlinks with find
Prepare for the next patch, with which {src_proj} may be a subdir in osmocom-bb. Change-Id: Ie15e74e61b16cef5e189e4e2a272b7d2061547c6
This commit is contained in:
parent
ca0d2900be
commit
107f35d3da
|
@ -173,12 +173,12 @@ 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} \
|
||||
{proj}_configure_files := $(shell find -L {src_proj} \
|
||||
-name "Makefile.am" \
|
||||
-or -name "*.in" \
|
||||
-and -not -name "Makefile.in" \
|
||||
-and -not -name "config.h.in" 2>/dev/null)
|
||||
{proj}_files := $(shell find {src_proj} \
|
||||
{proj}_files := $(shell find -L {src_proj} \
|
||||
\( \
|
||||
-name "*.[hc]" \
|
||||
-or -name "*.py" \
|
||||
|
|
Loading…
Reference in New Issue