mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-17 01:54:01 +08:00
d8db9bc55a
Pull in a version of Anton's null_syscall benchmark: http://ozlabs.org/~anton/junkcode/null_syscall.c Suggested-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Anton Blanchard <anton@au.ibm.com> Signed-off-by: Rui Teng <rui.teng@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
17 lines
317 B
Makefile
17 lines
317 B
Makefile
TEST_PROGS := gettimeofday context_switch mmap_bench futex_bench null_syscall
|
|
|
|
CFLAGS += -O2
|
|
|
|
all: $(TEST_PROGS)
|
|
|
|
$(TEST_PROGS): ../harness.c
|
|
|
|
context_switch: ../utils.c
|
|
context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec
|
|
context_switch: LDLIBS += -lpthread
|
|
|
|
include ../../lib.mk
|
|
|
|
clean:
|
|
rm -f $(TEST_PROGS) *.o
|