GNU Linux-libre 4.19.211-gnu1
[releases.git] / kernel / power / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2
3 ccflags-$(CONFIG_PM_DEBUG)      := -DDEBUG
4
5 KASAN_SANITIZE_snapshot.o       := n
6
7 obj-y                           += qos.o
8 obj-$(CONFIG_PM)                += main.o
9 obj-$(CONFIG_VT_CONSOLE_SLEEP)  += console.o
10 obj-$(CONFIG_FREEZER)           += process.o
11 obj-$(CONFIG_SUSPEND)           += suspend.o
12 obj-$(CONFIG_PM_TEST_SUSPEND)   += suspend_test.o
13 obj-$(CONFIG_HIBERNATION)       += hibernate.o snapshot.o swap.o user.o
14 obj-$(CONFIG_PM_AUTOSLEEP)      += autosleep.o
15 obj-$(CONFIG_PM_WAKELOCKS)      += wakelock.o
16
17 obj-$(CONFIG_MAGIC_SYSRQ)       += poweroff.o