mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
kernel-selftest: Warn conditionally about clang-native dependency
When meta-clang is in mix then it does the right thing already so no need to warn in that case Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -63,9 +63,10 @@ python __anonymous () {
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
bbwarn "clang >= 6.0 with bpf support is needed with kernel 4.18+ so \
|
||||
either install it and add it to HOSTTOOLS, or add \
|
||||
clang-native from meta-clang to dependency"
|
||||
if [ ${@bb.utils.contains('DEPENDS', 'clang-native', 'True', 'False', d)} = 'False' ]; then
|
||||
bbwarn "clang >= 6.0 with bpf support is needed with kernel 4.18+ so
|
||||
either install it and add it to HOSTTOOLS, or add clang-native from meta-clang to dependency"
|
||||
fi
|
||||
for i in ${TEST_LIST}
|
||||
do
|
||||
oe_runmake -C ${S}/tools/testing/selftests/${i}
|
||||
|
||||
Reference in New Issue
Block a user