1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
288baa78dSbamvor.zhangjian@huawei.comTEST_GEN_PROGS := fpu_syscall fpu_preempt fpu_signal vmx_syscall vmx_preempt vmx_signal vsx_preempt
301127f1eSCyril Bur
488baa78dSbamvor.zhangjian@huawei.cominclude ../../lib.mk
501127f1eSCyril Bur
688baa78dSbamvor.zhangjian@huawei.com$(TEST_GEN_PROGS): ../harness.c
788baa78dSbamvor.zhangjian@huawei.com$(TEST_GEN_PROGS): CFLAGS += -O2 -g -pthread -m64 -maltivec
801127f1eSCyril Bur
968bd42d9SMichael Ellerman$(OUTPUT)/fpu_syscall: fpu_asm.S
1068bd42d9SMichael Ellerman$(OUTPUT)/fpu_preempt: fpu_asm.S
1168bd42d9SMichael Ellerman$(OUTPUT)/fpu_signal:  fpu_asm.S
12e5ab8be6SCyril Bur
1368bd42d9SMichael Ellerman$(OUTPUT)/vmx_syscall: vmx_asm.S
1468bd42d9SMichael Ellerman$(OUTPUT)/vmx_preempt: vmx_asm.S
1568bd42d9SMichael Ellerman$(OUTPUT)/vmx_signal: vmx_asm.S
1601127f1eSCyril Bur
1768bd42d9SMichael Ellerman$(OUTPUT)/vsx_preempt: CFLAGS += -mvsx
1868bd42d9SMichael Ellerman$(OUTPUT)/vsx_preempt: vsx_asm.S
19