From: Nigel Cunningham <nigel@suspend2.net>
To: linux-kernel@vger.kernel.org
Subject: [Suspend2][ 2/4] [Suspend2] kernel/power/Makefile Suspend2 modifications.
Date: Tue, 27 Jun 2006 02:46:45 +1000 [thread overview]
Message-ID: <20060626164643.10641.71209.stgit@nigel.suspend2.net> (raw)
In-Reply-To: <20060626164637.10641.63979.stgit@nigel.suspend2.net>
Add Makefile entries for suspend2 objects.
Signed-off-by: Nigel Cunningham <nigel@suspend2.net>
kernel/power/Makefile | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/kernel/power/Makefile b/kernel/power/Makefile
index 01f2230..0d0f132 100644
--- a/kernel/power/Makefile
+++ b/kernel/power/Makefile
@@ -5,9 +5,28 @@ endif
obj-y := main.o process.o console.o
obj-$(CONFIG_PM_LEGACY) += pm.o
-obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o disk.o swap.o user.o
obj-$(CONFIG_SUSPEND_SMP) += smp.o
obj-$(CONFIG_SUSPEND_SHARED) += snapshot.o
+# Order is important for compression and encryption - we
+# compress before encrypting.
+
+suspend_core-objs := io.o pagedir.o prepare_image.o \
+ extent.o suspend.o modules.o \
+ pageflags.o ui.o proc.o \
+ power_off.o atomic_copy.o
+
+#ifdef CONFIG_NET
+suspend_core-objs += storage.o netlink.o
+#endif
+
+obj-$(CONFIG_SUSPEND2) += suspend_core.o
+obj-$(CONFIG_SUSPEND2_CRYPTO) += compression.o encryption.o
+
+obj-$(CONFIG_SUSPEND2_SWAPWRITER) += suspend_block_io.o suspend_swap.o
+obj-$(CONFIG_SUSPEND2_FILEWRITER) += suspend_block_io.o suspend_file.o
+
+obj-$(CONFIG_SOFTWARE_SUSPEND) += swsusp.o disk.o swap.o user.o
+
obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o
--
Nigel Cunningham nigel at suspend2 dot net
next prev parent reply other threads:[~2006-06-26 16:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-26 16:46 [Suspend2][ 0/4] Files shared with swsusp Nigel Cunningham
2006-06-26 16:46 ` [Suspend2][ 1/4] [Suspend2] Suspend2 Kconfig modifications Nigel Cunningham
2006-06-26 16:46 ` Nigel Cunningham [this message]
2006-06-26 16:46 ` [Suspend2][ 3/4] [Suspend2] Correct kernel/power/smp.c credit Nigel Cunningham
2006-06-28 20:48 ` Pavel Machek
2006-06-26 16:46 ` [Suspend2][ 4/4] [Suspend2] Build swsusp lowlevel code for Suspend2 as well Nigel Cunningham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060626164643.10641.71209.stgit@nigel.suspend2.net \
--to=nigel@suspend2.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox