diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-05-27 10:21:41 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-05-27 10:21:43 +0200 |
commit | 580cd7bd352e6812c4494be1fb2ddb968430c00f (patch) | |
tree | 2855ea06f17d511cb9cf7f0ecef773bef57d4153 /scripts/lib/ptxd_make_world_patchin.sh | |
parent | e9842ba8bd961d49f70996931ade77fbb7912d9c (diff) | |
download | ptxdist-580cd7bd352e6812c4494be1fb2ddb968430c00f.tar.gz ptxdist-580cd7bd352e6812c4494be1fb2ddb968430c00f.tar.xz |
ptxd_make_world_patchin_fixup: skip for non-autoconf packages
It's not needed here. It wastes unnecessary build time and makes working
with '--git' harder because extra files may be are modifies.
This is relevant for packages that support multiple build systems and
autoconf is not used.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_patchin.sh')
-rw-r--r-- | scripts/lib/ptxd_make_world_patchin.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_make_world_patchin.sh b/scripts/lib/ptxd_make_world_patchin.sh index 3248cef55..0eac702a4 100644 --- a/scripts/lib/ptxd_make_world_patchin.sh +++ b/scripts/lib/ptxd_make_world_patchin.sh @@ -373,6 +373,12 @@ ptxd_make_world_patchin_fixup() local file echo "patchin: fixup:" + + if [ "${pkg_conf_tool}" != "autoconf" -a "${pkg_conf_tool}" != "NO" ]; then + echo -e "patchin: fixup: skipped\n" + return + fi + find "${pkg_dir}/" -name "configure" -a -type f -a \! -path "*/.pc/*" | while read file; do ptxd_print_path "${file}" # |