summaryrefslogtreecommitdiff
path: root/scripts/Makefile.modpost
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2004-03-23 00:12:04 +0100
committerSam Ravnborg <sam@mars.ravnborg.org>2004-03-23 00:12:04 +0100
commit0f4619a8c9922ae35abb5ca4b3674272b5432463 (patch)
tree4cbe61e8ee4b5178b2dc8221459221fdde05522d /scripts/Makefile.modpost
parent67365e18666211517592db142758f0c057b3f982 (diff)
kbuild: Less modules printed when warned about SUBDIRS usage
From: Rusty Russell <rusty@rustcorp.com.au> Now kbuild prints out a line telling only what modules there are added, not all modules.
Diffstat (limited to 'scripts/Makefile.modpost')
-rw-r--r--scripts/Makefile.modpost2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost
index 66288a64f042..cd716ece8976 100644
--- a/scripts/Makefile.modpost
+++ b/scripts/Makefile.modpost
@@ -14,7 +14,7 @@ __modules := $(shell head -q -n1 /dev/null $(wildcard $(MODVERDIR)/*.mod))
modules := $(patsubst %.o,%.ko,$(wildcard $(__modules:.ko=.o)))
ifneq ($(filter-out $(modules),$(__modules)),)
- $(warning Trouble: $(__modules) )
+ $(warning Trouble: $(filter-out $(modules),$(__modules)))
$(warning *** Uh-oh, you have stale module entries. You messed with SUBDIRS,)
$(warning do not complain if something goes wrong.)
endif