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