aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/vmx/Makefile
diff options
context:
space:
mode:
authorLeonidas S. Barbosa <leosilva@linux.vnet.ibm.com>2015-02-06 11:59:48 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2015-02-28 05:13:46 -0500
commitd2e3ae6f3abad839214f7b05c34075a1a7c82470 (patch)
tree69addf6380a132aaa2bcbd06e808da11307b2ee5 /drivers/crypto/vmx/Makefile
parent5c380d623ed30b71a2441fb4f2e053a4e1a50794 (diff)
crypto: vmx - Enabling VMX module for PPC64
This patch enables VMX module in PPC64. Signed-off-by: Leonidas S. Barbosa <leosilva@linux.vnet.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/vmx/Makefile')
-rw-r--r--drivers/crypto/vmx/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/crypto/vmx/Makefile b/drivers/crypto/vmx/Makefile
new file mode 100644
index 000000000000..c699c6e6c82e
--- /dev/null
+++ b/drivers/crypto/vmx/Makefile
@@ -0,0 +1,19 @@
1obj-$(CONFIG_CRYPTO_DEV_VMX_ENCRYPT) += vmx-crypto.o
2vmx-crypto-objs := vmx.o aesp8-ppc.o ghashp8-ppc.o aes.o aes_cbc.o aes_ctr.o ghash.o
3
4ifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y)
5TARGET := linux-ppc64le
6else
7TARGET := linux-pcc64
8endif
9
10quiet_cmd_perl = PERL $@
11 cmd_perl = $(PERL) $(<) $(TARGET) > $(@)
12
13$(src)/aesp8-ppc.S: $(src)/aesp8-ppc.pl
14 $(call cmd,perl)
15
16$(src)/ghashp8-ppc.S: $(src)/ghashp8-ppc.pl
17 $(call cmd,perl)
18
19.PRECIOUS: $(obj)/aesp8-ppc.S $(obj)/ghashp8-ppc.S