aboutsummaryrefslogblamecommitdiffstats
path: root/tools/testing/selftests/powerpc/benchmarks/Makefile
blob: 286c6ed2378ca28176d993cdc041499c602b3ae6 (plain) (tree)
1
2
3
4
5
6
7
8
                                                                                 


             
                               
 
                    
 


                                                                 
TEST_GEN_PROGS := gettimeofday context_switch mmap_bench futex_bench null_syscall

CFLAGS += -O2

$(TEST_GEN_PROGS): ../harness.c

include ../../lib.mk

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