Commit d10f9f69 authored by Bertrand Jacquin's avatar Bertrand Jacquin Committed by Rusty Russell

modsign: lookup lines ending in .ko in .mod files

This does the same as commit ef591a55 (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 ea4054a2 (modpost:
handle huge numbers of modules) ?
Reviewed-by: default avatarWilly Tarreau <>
Signed-off-by: default avatarBertrand Jacquin <>
Signed-off-by: default avatarRusty Russell <>
parent d93e1719
......@@ -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)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment