Makefile 507 B

123456789101112131415161718
  1. # SPDX-License-Identifier: GPL-2.0
  2. ccflags-$(CONFIG_PM_DEBUG) := -DDEBUG
  3. KASAN_SANITIZE_snapshot.o := n
  4. obj-y += qos.o
  5. obj-$(CONFIG_PM) += main.o
  6. obj-$(CONFIG_VT_CONSOLE_SLEEP) += console.o
  7. obj-$(CONFIG_FREEZER) += process.o
  8. obj-$(CONFIG_SUSPEND) += suspend.o
  9. obj-$(CONFIG_PM_TEST_SUSPEND) += suspend_test.o
  10. obj-$(CONFIG_HIBERNATION) += hibernate.o snapshot.o swap.o user.o
  11. obj-$(CONFIG_PM_AUTOSLEEP) += autosleep.o
  12. obj-$(CONFIG_PM_WAKELOCKS) += wakelock.o
  13. obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o