License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6-block.git] / drivers / crypto / vmx / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
d2e3ae6f 2obj-$(CONFIG_CRYPTO_DEV_VMX_ENCRYPT) += vmx-crypto.o
c07f5d3d 3vmx-crypto-objs := vmx.o aesp8-ppc.o ghashp8-ppc.o aes.o aes_cbc.o aes_ctr.o aes_xts.o ghash.o
d2e3ae6f
LB
4
5ifeq ($(CONFIG_CPU_LITTLE_ENDIAN),y)
6TARGET := linux-ppc64le
7else
42cb0c7b 8TARGET := linux-ppc64
d2e3ae6f
LB
9endif
10
11quiet_cmd_perl = PERL $@
12 cmd_perl = $(PERL) $(<) $(TARGET) > $(@)
13
18f47f5e
NR
14targets += aesp8-ppc.S ghashp8-ppc.S
15
16$(obj)/aesp8-ppc.S: $(src)/aesp8-ppc.pl FORCE
17 $(call if_changed,perl)
d2e3ae6f 18
18f47f5e
NR
19$(obj)/ghashp8-ppc.S: $(src)/ghashp8-ppc.pl FORCE
20 $(call if_changed,perl)
d2e3ae6f 21
18f47f5e 22clean-files := aesp8-ppc.S ghashp8-ppc.S