]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - scripts/Makefile.modinst
Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / scripts / Makefile.modinst
index efa5d940e6324caa0aa120343043b89475502e74..3d13d3a3edfe821c9663de081d78045c96e69809 100644 (file)
@@ -9,7 +9,7 @@ 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)