]> git.itanic.dy.fi Git - linux-stable/commitdiff
selftests/arm64: Use TEST_GEN_PROGS_EXTENDED in the FP Makefile
authorMark Brown <broonie@kernel.org>
Wed, 27 Apr 2022 18:19:51 +0000 (19:19 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 28 Apr 2022 17:00:54 +0000 (18:00 +0100)
The kselftest lib.mk provides a default all target which builds additional
programs from TEST_GEN_PROGS_EXTENDED, use that rather than using
TEST_PROGS_EXTENDED which is for programs that don't need to be built like
shell scripts. Leave fpsimd-stress and sve-stress there since they are
scripts.

Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220427181954.357975-2-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/fp/Makefile

index 95e707e32247b6397b8d161752edfdf3faf7997e..a0b8cc59947e671a19792190df911e8dba010a6e 100644 (file)
@@ -2,14 +2,13 @@
 
 CFLAGS += -I../../../../../usr/include/
 TEST_GEN_PROGS := sve-ptrace sve-probe-vls vec-syscfg za-fork za-ptrace
-TEST_PROGS_EXTENDED := fp-pidbench fpsimd-test fpsimd-stress \
+TEST_GEN_PROGS_EXTENDED := fp-pidbench fpsimd-test \
        rdvl-sme rdvl-sve \
-       sve-test sve-stress \
-       ssve-test ssve-stress \
-       za-test za-stress \
+       sve-test \
+       ssve-test \
+       za-test \
        vlset
-
-all: $(TEST_GEN_PROGS) $(TEST_PROGS_EXTENDED)
+TEST_PROGS_EXTENDED := fpsimd-stress sve-stress ssve-stress za-stress
 
 # Build with nolibc to avoid effects due to libc's clone() support
 fp-pidbench: fp-pidbench.S asm-utils.o