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