diff options
author | Jan Beulich <JBeulich@suse.com> | 2012-05-14 21:57:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-15 13:13:34 -0400 |
commit | 7e1525249814acfd293d579abcb6462767643a8a (patch) | |
tree | dfb4e6963b9a0e179475c7026bd812bd5b293149 /net/xfrm/Makefile | |
parent | bcebe55957323d9a5bc9d0f7a0747ccbb34c86dd (diff) |
xfrm: make xfrm_algo.c a module
By making this a standalone config option (auto-selected as needed),
selecting CRYPTO from here rather than from XFRM (which is boolean)
allows the core crypto code to become a module again even when XFRM=y.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/Makefile')
-rw-r--r-- | net/xfrm/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/xfrm/Makefile b/net/xfrm/Makefile index aa429eefe919..c0e961983f17 100644 --- a/net/xfrm/Makefile +++ b/net/xfrm/Makefile | |||
@@ -3,8 +3,9 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | obj-$(CONFIG_XFRM) := xfrm_policy.o xfrm_state.o xfrm_hash.o \ | 5 | obj-$(CONFIG_XFRM) := xfrm_policy.o xfrm_state.o xfrm_hash.o \ |
6 | xfrm_input.o xfrm_output.o xfrm_algo.o \ | 6 | xfrm_input.o xfrm_output.o \ |
7 | xfrm_sysctl.o xfrm_replay.o | 7 | xfrm_sysctl.o xfrm_replay.o |
8 | obj-$(CONFIG_XFRM_STATISTICS) += xfrm_proc.o | 8 | obj-$(CONFIG_XFRM_STATISTICS) += xfrm_proc.o |
9 | obj-$(CONFIG_XFRM_ALGO) += xfrm_algo.o | ||
9 | obj-$(CONFIG_XFRM_USER) += xfrm_user.o | 10 | obj-$(CONFIG_XFRM_USER) += xfrm_user.o |
10 | obj-$(CONFIG_XFRM_IPCOMP) += xfrm_ipcomp.o | 11 | obj-$(CONFIG_XFRM_IPCOMP) += xfrm_ipcomp.o |