ubuntu-linux-kernel/tools/testing/selftests/powerpc/benchmarks/Makefile

13 lines
337 B
Makefile
Raw Permalink Normal View History

2024-04-01 15:06:58 +00:00
# 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