Makefile 482 B

12345678910111213141516171819
  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 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. $(src)/aesp8-ppc.S: $(src)/aesp8-ppc.pl
  11. $(call cmd,perl)
  12. $(src)/ghashp8-ppc.S: $(src)/ghashp8-ppc.pl
  13. $(call cmd,perl)
  14. .PRECIOUS: $(obj)/aesp8-ppc.S $(obj)/ghashp8-ppc.S