PM: Fix freezer compilation if PM_SLEEP is unset
[linux-2.6.git] / kernel / power / Makefile
1
2 ifeq ($(CONFIG_PM_DEBUG),y)
3 EXTRA_CFLAGS    +=      -DDEBUG
4 endif
5
6 obj-y                           := main.o
7 obj-$(CONFIG_PM_SLEEP)          += console.o
8 obj-$(CONFIG_FREEZER)           += process.o
9 obj-$(CONFIG_HIBERNATION)       += swsusp.o disk.o snapshot.o swap.o user.o
10
11 obj-$(CONFIG_MAGIC_SYSRQ)       += poweroff.o