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
changes/45/27445/1
Oliver Smith 11 months ago
parent ca0d2900be
commit 107f35d3da
  1. 4
      gen_makefile.py

@ -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…
Cancel
Save