blob: 1321922038d0fe651681c1ca8b41aad92515b6dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# SPDX-License-Identifier: GPL-2.0
TEST_GEN_PROGS := gettimeofday context_switch fork mmap_bench futex_bench null_syscall
TEST_GEN_FILES := exec_target
TEST_FILES := settings
top_srcdir = ../../../../..
include ../../lib.mk
include ../flags.mk
CFLAGS += -O2
$(TEST_GEN_PROGS): ../harness.c
$(OUTPUT)/context_switch: ../utils.c
$(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec
$(OUTPUT)/context_switch: LDLIBS += -lpthread
$(OUTPUT)/fork: LDLIBS += -lpthread
$(OUTPUT)/exec_target: CFLAGS += -static -nostartfiles
|