summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2014-08-27 20:29:56 +0930
committerRusty Russell <rusty@rustcorp.com.au>2014-08-27 21:54:11 +0930
commitd10f9f69bfeb9c8454b7cd05f6748c3d91d96485 (patch)
tree1883c626472df5564bf2551915753ad4d4160d6e
parentd93e1719a313ca960b38c5159be0106884317997 (diff)
modsign: lookup lines ending in .ko in .mod files
This does the same as commit ef591a5 (scripts/Makefile.modpost: error in finding modules from .mod files), but for scripts/Makefile.modsign Maybe we should also apply to Makefile.modsign and Makefile.modinst the change applied to Makefile.modpost by commit ea4054a (modpost: handle huge numbers of modules) ? Reviewed-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Bertrand Jacquin <beber@meleeweb.net> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-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)