summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/benchmarks/Makefile
blob: a35058e3766c2408955f045df4ca39786f34f33f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# SPDX-License-Identifier: GPL-2.0
TEST_GEN_PROGS := gettimeofday context_switch mmap_bench futex_bench null_syscall

CFLAGS += -O2

include ../../lib.mk

$(TEST_GEN_PROGS): ../harness.c

$(OUTPUT)/context_switch: ../utils.c
$(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec
$(OUTPUT)/context_switch: LDLIBS += -lpthread