Skip to content

Commit

Permalink
modsign: lookup lines ending in .ko in .mod files
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Bertrand Jacquin <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
Bertrand Jacquin authored and rustyrussell committed Aug 27, 2014
1 parent d93e171 commit d10f9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/Makefile.modsign
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d10f9f6

Please sign in to comment.