Makefile 546 B

123456789101112131415161718192021
  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 aes_xts.o ghash.o
  3. ifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y)
  4. TARGET := linux-ppc64le
  5. else
  6. TARGET := linux-ppc64
  7. endif
  8. quiet_cmd_perl = PERL $@
  9. cmd_perl = $(PERL) $(<) $(TARGET) > $(@)
  10. targets += aesp8-ppc.S ghashp8-ppc.S
  11. $(obj)/aesp8-ppc.S: $(src)/aesp8-ppc.pl FORCE
  12. $(call if_changed,perl)
  13. $(obj)/ghashp8-ppc.S: $(src)/ghashp8-ppc.pl FORCE
  14. $(call if_changed,perl)
  15. clean-files := aesp8-ppc.S ghashp8-ppc.S