forked from luck/tmp_suning_uos_patched
a0349828d6
In order to enable things like PM_TRACE, you're required to enable PM_DEBUG, which sends a large spew of messages on boot, and often times can overflow dmesg buffer. Create new PM_VERBOSE and shift that to be the option that enables drivers/base/power's messages. Signed-off-by: Ben Collins <bcollins@ubuntu.com> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Cc: Pavel Machek <pavel@ucw.cz> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
11 lines
233 B
Makefile
11 lines
233 B
Makefile
obj-y := shutdown.o
|
|
obj-$(CONFIG_PM) += main.o suspend.o resume.o sysfs.o
|
|
obj-$(CONFIG_PM_TRACE) += trace.o
|
|
|
|
ifeq ($(CONFIG_DEBUG_DRIVER),y)
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
endif
|
|
ifeq ($(CONFIG_PM_VERBOSE),y)
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
endif
|