summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.modsign
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Makefile.modsign')
-rw-r--r--scripts/Makefile.modsign2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.modsign b/scripts/Makefile.modsign
index abfda626dba..b6ac7084da7 100644
--- a/scripts/Makefile.modsign
+++ b/scripts/Makefile.modsign
@@ -7,7 +7,7 @@ __modsign:
include scripts/Kbuild.include
-__modules := $(sort $(shell grep -h '\.ko' /dev/null $(wildcard $(MODVERDIR)/*.mod)))
+__modules := $(sort $(shell grep -h '\.ko$$' /dev/null $(wildcard $(MODVERDIR)/*.mod)))
modules := $(patsubst %.o,%.ko,$(wildcard $(__modules:.ko=.o)))
PHONY += $(modules)