summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/include/contrib.defs4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/include/contrib.defs b/make/include/contrib.defs
index 1a1d05c71..9dfddea6e 100644
--- a/make/include/contrib.defs
+++ b/make/include/contrib.defs
@@ -46,9 +46,9 @@ define import.CONTRIB.defs
##
## target: patch
##
- $(1).PATCH.srcs = $$(wildcard \
+ $(1).PATCH.srcs = $$(sort $$(wildcard \
$$($(1).src/)A??-*.patch \
- $$($(1).src/)P??-$$(BUILD.system)*.patch )
+ $$($(1).src/)P??-$$(BUILD.system)*.patch ))
# extra line feed is required
define $(1).PATCH.item