Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | obj-y := shutdown.o |
Rafael J. Wysocki | 296699d | 2007-07-29 23:27:18 +0200 | [diff] [blame] | 2 | obj-$(CONFIG_PM_SLEEP) += main.o suspend.o resume.o sysfs.o |
Linus Torvalds | eb71c87 | 2006-06-24 14:27:42 -0700 | [diff] [blame] | 3 | obj-$(CONFIG_PM_TRACE) += trace.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | |
| 5 | ifeq ($(CONFIG_DEBUG_DRIVER),y) |
| 6 | EXTRA_CFLAGS += -DDEBUG |
| 7 | endif |
Ben Collins | a034982 | 2007-07-19 01:47:27 -0700 | [diff] [blame] | 8 | ifeq ($(CONFIG_PM_VERBOSE),y) |
David Brownell | 0596711 | 2006-05-01 13:58:33 -0700 | [diff] [blame] | 9 | EXTRA_CFLAGS += -DDEBUG |
| 10 | endif |