1d2e3ae6fSLeonidas S. Barbosaobj-$(CONFIG_CRYPTO_DEV_VMX_ENCRYPT) += vmx-crypto.o 2c07f5d3dSLeonidas S. Barbosavmx-crypto-objs := vmx.o aesp8-ppc.o ghashp8-ppc.o aes.o aes_cbc.o aes_ctr.o aes_xts.o ghash.o 3d2e3ae6fSLeonidas S. Barbosa 4d2e3ae6fSLeonidas S. Barbosaifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y) 5d2e3ae6fSLeonidas S. BarbosaTARGET := linux-ppc64le 6d2e3ae6fSLeonidas S. Barbosaelse 742cb0c7bSPaulo Flabiano SmorigoTARGET := linux-ppc64 8d2e3ae6fSLeonidas S. Barbosaendif 9d2e3ae6fSLeonidas S. Barbosa 10d2e3ae6fSLeonidas S. Barbosaquiet_cmd_perl = PERL $@ 11d2e3ae6fSLeonidas S. Barbosa cmd_perl = $(PERL) $(<) $(TARGET) > $(@) 12d2e3ae6fSLeonidas S. Barbosa 13d2e3ae6fSLeonidas S. Barbosa$(src)/aesp8-ppc.S: $(src)/aesp8-ppc.pl 14d2e3ae6fSLeonidas S. Barbosa $(call cmd,perl) 15d2e3ae6fSLeonidas S. Barbosa 16d2e3ae6fSLeonidas S. Barbosa$(src)/ghashp8-ppc.S: $(src)/ghashp8-ppc.pl 17d2e3ae6fSLeonidas S. Barbosa $(call cmd,perl) 18d2e3ae6fSLeonidas S. Barbosa 19d2e3ae6fSLeonidas S. Barbosa.PRECIOUS: $(obj)/aesp8-ppc.S $(obj)/ghashp8-ppc.S 20