From 9920c7d81e21afeec90aca2381fd8a9bc87397fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EA=B1=B4=ED=98=B8?= Date: Wed, 29 Aug 2012 22:58:12 +0900 Subject: [PATCH] --- yaml --- r: 333621 b: refs/heads/master c: ef591a550644062af5106e35fac112dee8463312 h: refs/heads/master i: 333619: fe8760be73e0bbcd68575c9fc717ca14050837bf v: v3 --- [refs] | 2 +- trunk/scripts/Makefile.modinst | 2 +- trunk/scripts/Makefile.modpost | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 7802c8f375c3..36b0524ae73f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 70cfe02682ff16bd8c1fec0d2374bd4dbceae54f +refs/heads/master: ef591a550644062af5106e35fac112dee8463312 diff --git a/trunk/scripts/Makefile.modinst b/trunk/scripts/Makefile.modinst index efa5d940e632..3d13d3a3edfe 100644 --- a/trunk/scripts/Makefile.modinst +++ b/trunk/scripts/Makefile.modinst @@ -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) diff --git a/trunk/scripts/Makefile.modpost b/trunk/scripts/Makefile.modpost index 08dce14f2dc8..a1cb0222ebe6 100644 --- a/trunk/scripts/Makefile.modpost +++ b/trunk/scripts/Makefile.modpost @@ -60,7 +60,7 @@ kernelsymfile := $(objtree)/Module.symvers modulesymfile := $(firstword $(KBUILD_EXTMOD))/Module.symvers # Step 1), find all modules listed in $(MODVERDIR)/ -__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))) # Stop after building .o files if NOFINAL is set. Makes compile tests quicker