Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / drivers / crypto / vmx / Makefile
blobd28ab96a2475901cdaad85bbeb9eee071f9a4ec6
1 obj-$(CONFIG_CRYPTO_DEV_VMX_ENCRYPT) += vmx-crypto.o
2 vmx-crypto-objs := vmx.o aesp8-ppc.o ghashp8-ppc.o aes.o aes_cbc.o aes_ctr.o ghash.o
4 ifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y)
5 TARGET := linux-ppc64le
6 else
7 TARGET := linux-ppc64
8 endif
10 quiet_cmd_perl = PERL $@
11 cmd_perl = $(PERL) $(<) $(TARGET) > $(@)
13 $(src)/aesp8-ppc.S: $(src)/aesp8-ppc.pl
14 $(call cmd,perl)
16 $(src)/ghashp8-ppc.S: $(src)/ghashp8-ppc.pl
17 $(call cmd,perl)
19 .PRECIOUS: $(obj)/aesp8-ppc.S $(obj)/ghashp8-ppc.S