• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 aes_xts.o ghash.o
3
4ifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y)
5TARGET := linux-ppc64le
6else
7TARGET := linux-ppc64
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
20