GNU Linux-libre 4.14.332-gnu1
[releases.git] / tools / testing / selftests / powerpc / benchmarks / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 TEST_GEN_PROGS := gettimeofday context_switch mmap_bench futex_bench null_syscall
3
4 CFLAGS += -O2
5
6 include ../../lib.mk
7
8 $(TEST_GEN_PROGS): ../harness.c
9
10 $(OUTPUT)/context_switch: ../utils.c
11 $(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec
12 $(OUTPUT)/context_switch: LDLIBS += -lpthread