]> git.ipfire.org Git - thirdparty/linux.git/blob - tools/testing/selftests/powerpc/benchmarks/Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/linux.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