1 # SPDX-License-Identifier: GPL-2.0 << 2 1 3 ifeq ($(CONFIG_DYNAMIC_DEBUG), y) !! 2 ccflags-$(CONFIG_PM_DEBUG) := -DDEBUG 4 CFLAGS_swap.o := -DDEBUG << 5 CFLAGS_snapshot.o := -DDEBUG << 6 CFLAGS_energy_model.o := -DDEBUG << 7 endif << 8 << 9 KASAN_SANITIZE_snapshot.o := n << 10 3 11 obj-y += qos.o 4 obj-y += qos.o 12 obj-$(CONFIG_PM) += main.o 5 obj-$(CONFIG_PM) += main.o 13 obj-$(CONFIG_VT_CONSOLE_SLEEP) += console.o 6 obj-$(CONFIG_VT_CONSOLE_SLEEP) += console.o 14 obj-$(CONFIG_FREEZER) += process.o 7 obj-$(CONFIG_FREEZER) += process.o 15 obj-$(CONFIG_SUSPEND) += suspend.o 8 obj-$(CONFIG_SUSPEND) += suspend.o 16 obj-$(CONFIG_PM_TEST_SUSPEND) += suspend_tes 9 obj-$(CONFIG_PM_TEST_SUSPEND) += suspend_test.o 17 obj-$(CONFIG_HIBERNATION) += hibernate.o !! 10 obj-$(CONFIG_HIBERNATION) += hibernate.o snapshot.o swap.o user.o 18 obj-$(CONFIG_HIBERNATION_SNAPSHOT_DEV) += user << 19 obj-$(CONFIG_PM_AUTOSLEEP) += autosleep.o 11 obj-$(CONFIG_PM_AUTOSLEEP) += autosleep.o 20 obj-$(CONFIG_PM_WAKELOCKS) += wakelock.o 12 obj-$(CONFIG_PM_WAKELOCKS) += wakelock.o 21 13 22 obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o 14 obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o 23 << 24 obj-$(CONFIG_ENERGY_MODEL) += energy_mode <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.