]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: vDSO: don't include generated headers for chacha test
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 3 Sep 2024 12:52:45 +0000 (14:52 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 13 Sep 2024 15:28:36 +0000 (17:28 +0200)
commit8bc7c5e525584903ea83332e18a2118ed3b1985e
tree567467daa59861a9dc010b80248d404e251c182a
parent712676ea2bb3882a852bcf49862c4247317fc9b2
selftests: vDSO: don't include generated headers for chacha test

It's not correct to use $(top_srcdir) for generated header files, for
builds that are done out of tree via O=, and $(objtree) isn't valid in
the selftests context. Instead, just obviate the need for these
generated header files by defining empty stubs in tools/include, which
is the same thing that's done for rwlock.h.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
tools/include/generated/asm-offsets.h [new file with mode: 0644]
tools/include/generated/asm/cpucap-defs.h [new file with mode: 0644]
tools/include/generated/asm/sysreg-defs.h [new file with mode: 0644]
tools/testing/selftests/vDSO/Makefile