pm: fix build for CONFIG_PM unset
[linux-2.6] / kernel / power / Makefile
1
2 ifeq ($(CONFIG_PM_DEBUG),y)
3 EXTRA_CFLAGS    +=      -DDEBUG
4 endif
5
6 obj-$(CONFIG_PM)                += 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