kernel-selftest: Build headers before compiling tests

This fixes build failure with kernel 6.5

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Khem Raj 2023-10-04 16:42:18 +02:00 committed by Armin Kuster
parent 8df57cbec4
commit 5cdad4e343

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}