blob: 5899260a8bef4b24f4292aa555b201e1147b9b3c [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
matt mooneyed3cd4a2011-01-14 06:12:24 -08002
3ccflags-$(CONFIG_PM_DEBUG) := -DDEBUG
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
James Morse67830912016-06-02 13:20:32 +01005KASAN_SANITIZE_snapshot.o := n
6
Jean Piheta9b542e2012-02-13 16:23:42 +01007obj-y += qos.o
8obj-$(CONFIG_PM) += main.o
H Hartley Sweeten37cce262011-09-21 22:47:55 +02009obj-$(CONFIG_VT_CONSOLE_SLEEP) += console.o
Rafael J. Wysocki33f1d7e2009-01-06 21:14:04 +010010obj-$(CONFIG_FREEZER) += process.o
Rafael J. Wysockia9d70522009-06-10 01:27:12 +020011obj-$(CONFIG_SUSPEND) += suspend.o
12obj-$(CONFIG_PM_TEST_SUSPEND) += suspend_test.o
Domenico Andreolic4f39a62020-05-07 09:19:53 +020013obj-$(CONFIG_HIBERNATION) += hibernate.o snapshot.o swap.o
14obj-$(CONFIG_HIBERNATION_SNAPSHOT_DEV) += user.o
Rafael J. Wysocki7483b4a2012-04-29 22:53:22 +020015obj-$(CONFIG_PM_AUTOSLEEP) += autosleep.o
Rafael J. Wysockib86ff9822012-04-29 22:53:42 +020016obj-$(CONFIG_PM_WAKELOCKS) += wakelock.o
Li Shaohua5a72e042005-06-25 14:55:06 -070017
Linus Torvalds1da177e2005-04-16 15:20:36 -070018obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o
Quentin Perret27871f72018-12-03 09:56:16 +000019
20obj-$(CONFIG_ENERGY_MODEL) += energy_model.o