summaryrefslogtreecommitdiffstats
path: root/core/modules/kernel-vanilla/module.build
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/kernel-vanilla/module.build')
-rw-r--r--core/modules/kernel-vanilla/module.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/kernel-vanilla/module.build b/core/modules/kernel-vanilla/module.build
index eb43e586..ec40e649 100644
--- a/core/modules/kernel-vanilla/module.build
+++ b/core/modules/kernel-vanilla/module.build
@@ -79,7 +79,7 @@ fetch_kernel_source() {
# Other patches
local patch
cde "$MODULE_WORK_DIR/ksrc"
- for patch in "${MODULE_DIR}/patches/"*; do
+ for patch in "${MODULE_DIR}/patches/"*${TARGET_KERNEL_SHORT%.*}*; do
[ -f "$patch" ] || continue
grep -q -F "$patch" "patches-done" && continue
pinfo "Applying $(basename "$patch")"