Makefile (3eb66e91a25497065c5322b1268cbc3953642227) Makefile (1f9bb31e58118e14ab66239796f2fbe633e1ad32)
1# SPDX-License-Identifier: GPL-2.0
1# SPDX-License-Identifier: GPL-2.0
2TEST_GEN_PROGS := fpu_syscall fpu_preempt fpu_signal vmx_syscall vmx_preempt vmx_signal vsx_preempt
2TEST_GEN_PROGS := fpu_syscall fpu_preempt fpu_signal fpu_denormal vmx_syscall vmx_preempt vmx_signal vsx_preempt
3
4top_srcdir = ../../../../..
5include ../../lib.mk
6
7$(TEST_GEN_PROGS): ../harness.c
8$(TEST_GEN_PROGS): CFLAGS += -O2 -g -pthread -m64 -maltivec
9
10$(OUTPUT)/fpu_syscall: fpu_asm.S
11$(OUTPUT)/fpu_preempt: fpu_asm.S
12$(OUTPUT)/fpu_signal: fpu_asm.S
13
14$(OUTPUT)/vmx_syscall: vmx_asm.S
15$(OUTPUT)/vmx_preempt: vmx_asm.S
16$(OUTPUT)/vmx_signal: vmx_asm.S
17
18$(OUTPUT)/vsx_preempt: CFLAGS += -mvsx
19$(OUTPUT)/vsx_preempt: vsx_asm.S
3
4top_srcdir = ../../../../..
5include ../../lib.mk
6
7$(TEST_GEN_PROGS): ../harness.c
8$(TEST_GEN_PROGS): CFLAGS += -O2 -g -pthread -m64 -maltivec
9
10$(OUTPUT)/fpu_syscall: fpu_asm.S
11$(OUTPUT)/fpu_preempt: fpu_asm.S
12$(OUTPUT)/fpu_signal: fpu_asm.S
13
14$(OUTPUT)/vmx_syscall: vmx_asm.S
15$(OUTPUT)/vmx_preempt: vmx_asm.S
16$(OUTPUT)/vmx_signal: vmx_asm.S
17
18$(OUTPUT)/vsx_preempt: CFLAGS += -mvsx
19$(OUTPUT)/vsx_preempt: vsx_asm.S