aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/Makefile')
-rw-r--r--kernel/power/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/power/Makefile b/kernel/power/Makefile
new file mode 100644
index 00000000000..fbdc634135a
--- /dev/null
+++ b/kernel/power/Makefile
@@ -0,0 +1,11 @@
+
+ifeq ($(CONFIG_PM_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif
+
+swsusp-smp-$(CONFIG_SMP) += smp.o
+
+obj-y := main.o process.o console.o pm.o
+obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o $(swsusp-smp-y) disk.o
+
+obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o