kernel-selftest: Build headers before compiling tests

This fixes build failure with kernel 6.5

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2023-10-01 14:53:13 -07:00
parent 29a2122393
commit ea42cec2ec

View File

@ -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}