mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 06:55:13 +08:00
c4f39a6c74
Make it possible to reduce the attack surface in case the snapshot device is not to be used from userspace. Signed-off-by: Domenico Andreoli <domenico.andreoli@linux.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
21 lines
595 B
Makefile
21 lines
595 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
ccflags-$(CONFIG_PM_DEBUG) := -DDEBUG
|
|
|
|
KASAN_SANITIZE_snapshot.o := n
|
|
|
|
obj-y += qos.o
|
|
obj-$(CONFIG_PM) += main.o
|
|
obj-$(CONFIG_VT_CONSOLE_SLEEP) += console.o
|
|
obj-$(CONFIG_FREEZER) += process.o
|
|
obj-$(CONFIG_SUSPEND) += suspend.o
|
|
obj-$(CONFIG_PM_TEST_SUSPEND) += suspend_test.o
|
|
obj-$(CONFIG_HIBERNATION) += hibernate.o snapshot.o swap.o
|
|
obj-$(CONFIG_HIBERNATION_SNAPSHOT_DEV) += user.o
|
|
obj-$(CONFIG_PM_AUTOSLEEP) += autosleep.o
|
|
obj-$(CONFIG_PM_WAKELOCKS) += wakelock.o
|
|
|
|
obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o
|
|
|
|
obj-$(CONFIG_ENERGY_MODEL) += energy_model.o
|