Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | |
| 2 | ifeq ($(CONFIG_PM_DEBUG),y) |
| 3 | EXTRA_CFLAGS += -DDEBUG |
| 4 | endif |
| 5 | |
Rafael J. Wysocki | 42f5e03 | 2009-02-18 14:48:21 -0800 | [diff] [blame] | 6 | obj-$(CONFIG_PM) += main.o |
Rafael J. Wysocki | 33f1d7e | 2009-01-06 21:14:04 +0100 | [diff] [blame] | 7 | obj-$(CONFIG_PM_SLEEP) += console.o |
| 8 | obj-$(CONFIG_FREEZER) += process.o |
Rafael J. Wysocki | a9d7052 | 2009-06-10 01:27:12 +0200 | [diff] [blame] | 9 | obj-$(CONFIG_SUSPEND) += suspend.o |
| 10 | obj-$(CONFIG_PM_TEST_SUSPEND) += suspend_test.o |
Jiri Slaby | 8a0d613 | 2010-05-01 23:52:34 +0200 | [diff] [blame] | 11 | obj-$(CONFIG_HIBERNATION) += hibernate.o snapshot.o swap.o user.o \ |
| 12 | block_io.o |
Matthew Garrett | dd4c4f1 | 2010-05-28 16:32:14 -0400 | [diff] [blame] | 13 | obj-$(CONFIG_SUSPEND_NVS) += nvs.o |
Li Shaohua | 5a72e04 | 2005-06-25 14:55:06 -0700 | [diff] [blame] | 14 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o |