18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ciobj-$(CONFIG_CRYPTO_DEV_VMX_ENCRYPT) += vmx-crypto.o 38c2ecf20Sopenharmony_civmx-crypto-objs := vmx.o aesp8-ppc.o ghashp8-ppc.o aes.o aes_cbc.o aes_ctr.o aes_xts.o ghash.o 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y) 68c2ecf20Sopenharmony_cioverride flavour := linux-ppc64le 78c2ecf20Sopenharmony_cielse 88c2ecf20Sopenharmony_cioverride flavour := linux-ppc64 98c2ecf20Sopenharmony_ciendif 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ciquiet_cmd_perl = PERL $@ 128c2ecf20Sopenharmony_ci cmd_perl = $(PERL) $(<) $(flavour) > $(@) 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_citargets += aesp8-ppc.S ghashp8-ppc.S 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci$(obj)/aesp8-ppc.S: $(src)/aesp8-ppc.pl FORCE 178c2ecf20Sopenharmony_ci $(call if_changed,perl) 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci$(obj)/ghashp8-ppc.S: $(src)/ghashp8-ppc.pl FORCE 208c2ecf20Sopenharmony_ci $(call if_changed,perl) 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciclean-files := aesp8-ppc.S ghashp8-ppc.S 23