Skip to content

Commit 3a23a42

Browse files
brooniectmarinas
authored andcommitted
selftests/arm64: Define top_srcdir for the fp tests
Some of the rules in lib.mk use a top_srcdir variable to figure out where the top of the kselftest tree is, provide it. Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent a59f7a7 commit 3a23a42

File tree

1 file changed

+5
-1
lines changed
  • tools/testing/selftests/arm64/fp

1 file changed

+5
-1
lines changed

tools/testing/selftests/arm64/fp/Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3-
CFLAGS += -I../../../../../usr/include/
3+
# A proper top_srcdir is needed by KSFT(lib.mk)
4+
top_srcdir = $(realpath ../../../../../)
5+
6+
CFLAGS += -I$(top_srcdir)/usr/include/
7+
48
TEST_GEN_PROGS := sve-ptrace sve-probe-vls vec-syscfg za-fork za-ptrace
59
TEST_GEN_PROGS_EXTENDED := fp-pidbench fpsimd-test \
610
rdvl-sme rdvl-sve \

0 commit comments

Comments
 (0)