mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-03 23:56:46 +00:00
The various floating point test programs written in assembly have a bunch of helper functions and macros which are cut'n'pasted between them. Factor them out into a separate source file which is linked into all of them. We don't include memcmp() since it isn't as generic as it should be and directly branches to report an error in the programs. Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20211019181851.3341232-1-broonie@kernel.org Signed-off-by: Will Deacon <will@kernel.org>
23 lines
555 B
Makefile
23 lines
555 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
CFLAGS += -I../../../../../usr/include/
|
|
TEST_GEN_PROGS := sve-ptrace sve-probe-vls vec-syscfg
|
|
TEST_PROGS_EXTENDED := fpsimd-test fpsimd-stress \
|
|
rdvl-sve \
|
|
sve-test sve-stress \
|
|
vlset
|
|
|
|
all: $(TEST_GEN_PROGS) $(TEST_PROGS_EXTENDED)
|
|
|
|
fpsimd-test: fpsimd-test.o asm-utils.o
|
|
$(CC) -nostdlib $^ -o $@
|
|
rdvl-sve: rdvl-sve.o rdvl.o
|
|
sve-ptrace: sve-ptrace.o
|
|
sve-probe-vls: sve-probe-vls.o rdvl.o
|
|
sve-test: sve-test.o asm-utils.o
|
|
$(CC) -nostdlib $^ -o $@
|
|
vec-syscfg: vec-syscfg.o rdvl.o
|
|
vlset: vlset.o
|
|
|
|
include ../../lib.mk
|