projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a59f7a7
)
selftests/arm64: Define top_srcdir for the fp tests
author
Mark Brown
<broonie@kernel.org>
Wed, 27 Apr 2022 18:19:52 +0000
(19:19 +0100)
committer
Catalin Marinas
<catalin.marinas@arm.com>
Thu, 28 Apr 2022 17:00:54 +0000
(18:00 +0100)
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 <broonie@kernel.org>
Link:
https://lore.kernel.org/r/20220427181954.357975-3-broonie@kernel.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
tools/testing/selftests/arm64/fp/Makefile
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/arm64/fp/Makefile
b/tools/testing/selftests/arm64/fp/Makefile
index a0b8cc59947e671a19792190df911e8dba010a6e..ba758a6c6b9a6963f88ccfa19f483d546d41c29e 100644
(file)
--- a/
tools/testing/selftests/arm64/fp/Makefile
+++ b/
tools/testing/selftests/arm64/fp/Makefile
@@
-1,6
+1,10
@@
# SPDX-License-Identifier: GPL-2.0
-CFLAGS += -I../../../../../usr/include/
+# A proper top_srcdir is needed by KSFT(lib.mk)
+top_srcdir = $(realpath ../../../../../)
+
+CFLAGS += -I$(top_srcdir)/usr/include/
+
TEST_GEN_PROGS := sve-ptrace sve-probe-vls vec-syscfg za-fork za-ptrace
TEST_GEN_PROGS_EXTENDED := fp-pidbench fpsimd-test \
rdvl-sme rdvl-sve \