1# SPDX-License-Identifier: GPL-2.0
2
3ccflags-$(CONFIG_PM_DEBUG)	:= -DDEBUG
4
5KASAN_SANITIZE_snapshot.o	:= n
6
7obj-y				+= qos.o
8obj-$(CONFIG_PM)		+= main.o
9obj-$(CONFIG_VT_CONSOLE_SLEEP)	+= console.o
10obj-$(CONFIG_FREEZER)		+= process.o
11obj-$(CONFIG_SUSPEND)		+= suspend.o
12obj-$(CONFIG_PM_TEST_SUSPEND)	+= suspend_test.o
13obj-$(CONFIG_HIBERNATION)	+= hibernate.o snapshot.o swap.o
14obj-$(CONFIG_HIBERNATION_SNAPSHOT_DEV) += user.o
15obj-$(CONFIG_PM_AUTOSLEEP)	+= autosleep.o
16obj-$(CONFIG_PM_WAKELOCKS)	+= wakelock.o
17
18obj-$(CONFIG_MAGIC_SYSRQ)	+= poweroff.o
19
20obj-$(CONFIG_ENERGY_MODEL)	+= energy_model.o
21