blob: f9063c6b185d2917124f06350753ad96e0b184d1 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001
2ifeq ($(CONFIG_PM_DEBUG),y)
3EXTRA_CFLAGS += -DDEBUG
4endif
5
Rafael J. Wysocki42f5e032009-02-18 14:48:21 -08006obj-$(CONFIG_PM) += main.o
Rafael J. Wysocki33f1d7e2009-01-06 21:14:04 +01007obj-$(CONFIG_PM_SLEEP) += console.o
8obj-$(CONFIG_FREEZER) += process.o
Rafael J. Wysockia9d70522009-06-10 01:27:12 +02009obj-$(CONFIG_SUSPEND) += suspend.o
10obj-$(CONFIG_PM_TEST_SUSPEND) += suspend_test.o
Jiri Slaby8a0d6132010-05-01 23:52:34 +020011obj-$(CONFIG_HIBERNATION) += hibernate.o snapshot.o swap.o user.o \
12 block_io.o
Matthew Garrettdd4c4f12010-05-28 16:32:14 -040013obj-$(CONFIG_SUSPEND_NVS) += nvs.o
Li Shaohua5a72e042005-06-25 14:55:06 -070014
Linus Torvalds1da177e2005-04-16 15:20:36 -070015obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o