cryptodev: 1.11 -> 1.12
[NixPkgs.git] / pkgs / os-specific / linux / kernel / modinst-arg-list-too-long.patch
blob58a9191989ae9f40b16e2ba220933eb1e2968167
1 diff --git a/scripts/Makefile.modinst b/scripts/Makefile.modinst
2 index 07650ee..934a7a8 100644
3 --- a/scripts/Makefile.modinst
4 +++ b/scripts/Makefile.modinst
5 @@ -9,7 +9,8 @@ include scripts/Kbuild.include
9 -__modules := $(sort $(shell grep -h '\.ko$$' /dev/null $(wildcard $(MODVERDIR)/*.mod)))
10 +__modules := $(sort $(foreach f,$(wildcard $(MODVERDIR)/*.mod),$(shell \
11 + grep -h '\.ko$$' '$f')))
12 modules := $(patsubst %.o,%.ko,$(wildcard $(__modules:.ko=.o)))
14 PHONY += $(modules)