2021-05-27 00:09:36 +05:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
CFLAGS += -I../../../../../usr/include/
|
2021-10-02 21:09:28 +05:00
|
|
|
TEST_GEN_PROGS := sve-ptrace sve-probe-vls vec-syscfg
|
|
|
|
TEST_PROGS_EXTENDED := fpsimd-test fpsimd-stress \
|
|
|
|
rdvl-sve \
|
|
|
|
sve-test sve-stress \
|
|
|
|
vlset
|
2021-05-27 00:09:36 +05:00
|
|
|
|
|
|
|
all: $(TEST_GEN_PROGS) $(TEST_PROGS_EXTENDED)
|
|
|
|
|
|
|
|
fpsimd-test: fpsimd-test.o
|
|
|
|
$(CC) -nostdlib $^ -o $@
|
2021-10-02 21:09:28 +05:00
|
|
|
rdvl-sve: rdvl-sve.o rdvl.o
|
2021-05-27 00:09:36 +05:00
|
|
|
sve-ptrace: sve-ptrace.o sve-ptrace-asm.o
|
2021-10-02 21:09:28 +05:00
|
|
|
sve-probe-vls: sve-probe-vls.o rdvl.o
|
2021-05-27 00:09:36 +05:00
|
|
|
sve-test: sve-test.o
|
|
|
|
$(CC) -nostdlib $^ -o $@
|
2021-10-02 21:09:28 +05:00
|
|
|
vec-syscfg: vec-syscfg.o rdvl.o
|
2021-05-27 00:09:36 +05:00
|
|
|
vlset: vlset.o
|
|
|
|
|
|
|
|
include ../../lib.mk
|