kernel-selftest: Build headers before compiling tests

This fixes build failure with kernel 6.5

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit ea42cec2ec)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Khem Raj
2023-10-01 14:53:13 -07:00
committed by Armin Kuster
parent 43f8a0ac20
commit 278c3f75e3
@@ -74,7 +74,7 @@ do_compile() {
either install it and add it to HOSTTOOLS, or add clang-native from meta-clang to dependency"
fi
fi
oe_runmake -C ${S} headers
for i in ${TEST_LIST}
do
oe_runmake -C ${S}/tools/testing/selftests/${i}