summaryrefslogtreecommitdiff
path: root/kernel/power/Makefile
blob: 82c4795e8899cfdfc26b2498ef8c043bd23652a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46

ccflags-$(CONFIG_PM_DEBUG)	:= -DDEBUG

tuxonice_core-y := tuxonice_modules.o

obj-$(CONFIG_TOI)		+= tuxonice_builtin.o
obj-$(CONFIG_TOI_INCREMENTAL)   += tuxonice_incremental.o \
    tuxonice_copy_before_write.o

tuxonice_core-$(CONFIG_PM_DEBUG)	+= tuxonice_alloc.o

# Compile these in after allocation debugging, if used.

tuxonice_core-y += tuxonice_sysfs.o tuxonice_highlevel.o \
		tuxonice_io.o tuxonice_pagedir.o tuxonice_prepare_image.o \
		tuxonice_extent.o tuxonice_pageflags.o tuxonice_ui.o \
		tuxonice_power_off.o tuxonice_atomic_copy.o

tuxonice_core-$(CONFIG_TOI_CHECKSUM)	+= tuxonice_checksum.o

tuxonice_core-$(CONFIG_NET)	+= tuxonice_storage.o tuxonice_netlink.o

obj-$(CONFIG_TOI_CORE)		+= tuxonice_core.o
obj-$(CONFIG_TOI_PRUNE)		+= tuxonice_prune.o
obj-$(CONFIG_TOI_CRYPTO)	+= tuxonice_compress.o

tuxonice_bio-y := tuxonice_bio_core.o tuxonice_bio_chains.o \
		tuxonice_bio_signature.o

obj-$(CONFIG_TOI_SWAP)		+= tuxonice_bio.o tuxonice_swap.o
obj-$(CONFIG_TOI_FILE)		+= tuxonice_bio.o tuxonice_file.o
obj-$(CONFIG_TOI_CLUSTER)	+= tuxonice_cluster.o

obj-$(CONFIG_TOI_USERUI)	+= tuxonice_userui.o

obj-y				+= qos.o
obj-$(CONFIG_PM)		+= main.o
obj-$(CONFIG_VT_CONSOLE_SLEEP)	+= console.o
obj-$(CONFIG_FREEZER)		+= process.o
obj-$(CONFIG_SUSPEND)		+= suspend.o
obj-$(CONFIG_PM_TEST_SUSPEND)	+= suspend_test.o
obj-$(CONFIG_HIBERNATION)	+= hibernate.o snapshot.o swap.o user.o
obj-$(CONFIG_PM_AUTOSLEEP)	+= autosleep.o
obj-$(CONFIG_PM_WAKELOCKS)	+= wakelock.o

obj-$(CONFIG_MAGIC_SYSRQ)	+= poweroff.o