162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ciobj-$(CONFIG_CRYPTO_DEV_VMX_ENCRYPT) += vmx-crypto.o 362306a36Sopenharmony_civmx-crypto-objs := vmx.o aesp8-ppc.o ghashp8-ppc.o aes.o aes_cbc.o aes_ctr.o aes_xts.o ghash.o 462306a36Sopenharmony_ci 562306a36Sopenharmony_ciifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y) 662306a36Sopenharmony_cioverride flavour := linux-ppc64le 762306a36Sopenharmony_cielse 862306a36Sopenharmony_ciifdef CONFIG_PPC64_ELF_ABI_V2 962306a36Sopenharmony_cioverride flavour := linux-ppc64-elfv2 1062306a36Sopenharmony_cielse 1162306a36Sopenharmony_cioverride flavour := linux-ppc64 1262306a36Sopenharmony_ciendif 1362306a36Sopenharmony_ciendif 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ciquiet_cmd_perl = PERL $@ 1662306a36Sopenharmony_ci cmd_perl = $(PERL) $< $(flavour) > $@ 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_citargets += aesp8-ppc.S ghashp8-ppc.S 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci$(obj)/aesp8-ppc.S $(obj)/ghashp8-ppc.S: $(obj)/%.S: $(src)/%.pl FORCE 2162306a36Sopenharmony_ci $(call if_changed,perl) 2262306a36Sopenharmony_ci 2362306a36Sopenharmony_ciOBJECT_FILES_NON_STANDARD_aesp8-ppc.o := y 24