summaryrefslogtreecommitdiff
path: root/mk/buildhlp.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-01-31 06:07:18 +0000
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-01-31 06:07:18 +0000
commit1af43b9c239ecfad732635791f3f759155e6f4c3 (patch)
treeaf54e32dcdf0b5ccae5beba3150a9f06e74f792d /mk/buildhlp.mk
parent8e59777050595edcc7b2b9799906d29f4198f224 (diff)
gcc/binutils: update to latest releases, improve riscv support
Diffstat (limited to 'mk/buildhlp.mk')
-rw-r--r--mk/buildhlp.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/buildhlp.mk b/mk/buildhlp.mk
index c2aeb3800..a0ae7ac7f 100644
--- a/mk/buildhlp.mk
+++ b/mk/buildhlp.mk
@@ -74,6 +74,8 @@ endif
ifeq ($(strip ${__use_generic_patch_target}),42)
post-patch:
${WRKDIST}/.prepared: ${WRKDIST}/.extract_done
+ @# find any reject files and delete them
+ @find $(WRKDIST)/ -name \*.rej -delete
[ ! -d ./patches/${PKG_VERSION} ] || ${PREVENT_PATCH} ${PATCH} ${WRKDIST} ./patches/${PKG_VERSION} \
'{patch-!(*.orig),*.patch,*.${ADK_TARGET_ARCH},*.${ADK_TARGET_LIBC}}' $(MAKE_TRACE)
[ ! -d ./patches ] || ${PREVENT_PATCH} ${PATCH} ${WRKDIST} ./patches \