Commit 0f4619a8 authored by Sam Ravnborg's avatar Sam Ravnborg

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.
parent 67365e18
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment