mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
bca73e4bf8
Since few people need the support anymore, this moves the legacy pm_xxx functions to CONFIG_PM_LEGACY, and include/linux/pm_legacy.h. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
12 lines
270 B
Makefile
12 lines
270 B
Makefile
|
|
ifeq ($(CONFIG_PM_DEBUG),y)
|
|
EXTRA_CFLAGS += -DDEBUG
|
|
endif
|
|
|
|
obj-y := main.o process.o console.o
|
|
obj-$(CONFIG_PM_LEGACY) += pm.o
|
|
obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o disk.o snapshot.o
|
|
|
|
obj-$(CONFIG_SUSPEND_SMP) += smp.o
|
|
|
|
obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o
|