1 # SPDX-License-Identifier: GPL-2.0 << 2 1 3 ifeq ($(CONFIG_DYNAMIC_DEBUG), y) !! 2 ifeq ($(CONFIG_PM_DEBUG),y) 4 CFLAGS_swap.o := -DDEBUG !! 3 EXTRA_CFLAGS += -DDEBUG 5 CFLAGS_snapshot.o := -DDEBUG << 6 CFLAGS_energy_model.o := -DDEBUG << 7 endif 4 endif 8 5 9 KASAN_SANITIZE_snapshot.o := n << 10 << 11 obj-y += qos.o << 12 obj-$(CONFIG_PM) += main.o 6 obj-$(CONFIG_PM) += main.o 13 obj-$(CONFIG_VT_CONSOLE_SLEEP) += console.o !! 7 obj-$(CONFIG_PM_SLEEP) += console.o 14 obj-$(CONFIG_FREEZER) += process.o 8 obj-$(CONFIG_FREEZER) += process.o 15 obj-$(CONFIG_SUSPEND) += suspend.o 9 obj-$(CONFIG_SUSPEND) += suspend.o 16 obj-$(CONFIG_PM_TEST_SUSPEND) += suspend_tes 10 obj-$(CONFIG_PM_TEST_SUSPEND) += suspend_test.o 17 obj-$(CONFIG_HIBERNATION) += hibernate.o !! 11 obj-$(CONFIG_HIBERNATION) += swsusp.o hibernate.o snapshot.o swap.o user.o 18 obj-$(CONFIG_HIBERNATION_SNAPSHOT_DEV) += user !! 12 obj-$(CONFIG_HIBERNATION_NVS) += hibernate_nvs.o 19 obj-$(CONFIG_PM_AUTOSLEEP) += autosleep.o << 20 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.