Skip to content

Commit d10f9f6

Browse files
Bertrand Jacquinrustyrussell
authored andcommitted
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>
1 parent d93e171 commit d10f9f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎scripts/Makefile.modsign‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ __modsign:
77

88
include scripts/Kbuild.include
99

10-
__modules := $(sort $(shell grep -h '\.ko' /dev/null $(wildcard $(MODVERDIR)/*.mod)))
10+
__modules := $(sort $(shell grep -h '\.ko$$' /dev/null $(wildcard $(MODVERDIR)/*.mod)))
1111
modules := $(patsubst %.o,%.ko,$(wildcard $(__modules:.ko=.o)))
1212

1313
PHONY += $(modules)

0 commit comments

Comments
 (0)