]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/nolibc: determine $(srctree) first
authorThomas Weißschuh <linux@weissschuh.net>
Wed, 7 Aug 2024 21:51:45 +0000 (23:51 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 12 Aug 2024 20:22:14 +0000 (22:22 +0200)
commit1a1200b66fd52dca33255270a09a093592c3b877
tree9e08e0b6d8760701f7b2ad9c7908aa75ddff0de9
parentf1a58f61d88642ae1e6e97e9d72d73bc70a93cb8
selftests/nolibc: determine $(srctree) first

The nolibc-test Makefile includes various other Makefiles from the tree.
At first these are included with relative paths like
"../../../build/Build.include" but as soon as $(srctree) is set up,
the inclusions use that instead to build full paths.

To keep the style of inclusions consistent, perform the setup
$(srctree) as early as possible and use it for all inclusions.

Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20240807-nolibc-llvm-v2-9-c20f2f5fc7c2@weissschuh.net
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/testing/selftests/nolibc/Makefile