aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2020-10-21 19:27:05 -0400
committerDave Wallace <dwallacelf@gmail.com>2020-10-21 19:27:05 -0400
commit312e441a8e4c1bd6c90d6f2570c2746139086be6 (patch)
tree5549b448ad240e2115ee6eb8cadc0ef66b6ee192 /build
parent9ef7eae6990f0eee02042d2596ab0195899f7aed (diff)
build: fix external patch application to not create .orig files
- Generation of patched original files (eg. dpdk-devbind.py.orig) causes build breakage of 'make install-ext-deps' on CentOS-8. Note: this only occurs on builds using 'make' for dpdk instead of 'meson'. Thus only applies to stable/2009. Type: fix Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I3f1f70781b7a5564cd38e8876644d817e2eb4aad
Diffstat (limited to 'build')
-rw-r--r--build/external/packages.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/external/packages.mk b/build/external/packages.mk
index 005c2a958b2..bcd1d38a387 100644
--- a/build/external/packages.mk
+++ b/build/external/packages.mk
@@ -79,7 +79,7 @@ $(B)/.$1.patch.ok: $(B)/.$1.extract.ok
ifneq ($$(wildcard $$($1_patch_dir)/*.patch),)
@for f in $$($1_patch_dir)/*.patch ; do \
echo "Applying patch: $$$$(basename $$$$f)" ; \
- patch -p1 -d $$($1_src_dir) < $$$$f ; \
+ patch -p1 -d $$($1_src_dir) --no-backup-if-mismatch < $$$$f ; \
done
endif
@touch $$@