Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
matt mooney | ed3cd4a | 2011-01-14 06:12:24 -0800 | [diff] [blame] | 2 | |
| 3 | ccflags-$(CONFIG_PM_DEBUG) := -DDEBUG |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | |
James Morse | 6783091 | 2016-06-02 13:20:32 +0100 | [diff] [blame] | 5 | KASAN_SANITIZE_snapshot.o := n |
| 6 | |
Jean Pihet | a9b542e | 2012-02-13 16:23:42 +0100 | [diff] [blame] | 7 | obj-y += qos.o |
| 8 | obj-$(CONFIG_PM) += main.o |
H Hartley Sweeten | 37cce26 | 2011-09-21 22:47:55 +0200 | [diff] [blame] | 9 | obj-$(CONFIG_VT_CONSOLE_SLEEP) += console.o |
Rafael J. Wysocki | 33f1d7e | 2009-01-06 21:14:04 +0100 | [diff] [blame] | 10 | obj-$(CONFIG_FREEZER) += process.o |
Rafael J. Wysocki | a9d7052 | 2009-06-10 01:27:12 +0200 | [diff] [blame] | 11 | obj-$(CONFIG_SUSPEND) += suspend.o |
| 12 | obj-$(CONFIG_PM_TEST_SUSPEND) += suspend_test.o |
Domenico Andreoli | c4f39a6 | 2020-05-07 09:19:53 +0200 | [diff] [blame] | 13 | obj-$(CONFIG_HIBERNATION) += hibernate.o snapshot.o swap.o |
| 14 | obj-$(CONFIG_HIBERNATION_SNAPSHOT_DEV) += user.o |
Rafael J. Wysocki | 7483b4a | 2012-04-29 22:53:22 +0200 | [diff] [blame] | 15 | obj-$(CONFIG_PM_AUTOSLEEP) += autosleep.o |
Rafael J. Wysocki | b86ff982 | 2012-04-29 22:53:42 +0200 | [diff] [blame] | 16 | obj-$(CONFIG_PM_WAKELOCKS) += wakelock.o |
Li Shaohua | 5a72e04 | 2005-06-25 14:55:06 -0700 | [diff] [blame] | 17 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o |
Quentin Perret | 27871f7 | 2018-12-03 09:56:16 +0000 | [diff] [blame] | 19 | |
| 20 | obj-$(CONFIG_ENERGY_MODEL) += energy_model.o |