mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-08 16:00:32 +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() {
|
do_compile() {
|
||||||
bbwarn "clang >= 6.0 with bpf support is needed with kernel 4.18+ so \
|
if [ ${@bb.utils.contains('DEPENDS', 'clang-native', 'True', 'False', d)} = 'False' ]; then
|
||||||
either install it and add it to HOSTTOOLS, or add \
|
bbwarn "clang >= 6.0 with bpf support is needed with kernel 4.18+ so
|
||||||
clang-native from meta-clang to dependency"
|
either install it and add it to HOSTTOOLS, or add clang-native from meta-clang to dependency"
|
||||||
|
fi
|
||||||
for i in ${TEST_LIST}
|
for i in ${TEST_LIST}
|
||||||
do
|
do
|
||||||
oe_runmake -C ${S}/tools/testing/selftests/${i}
|
oe_runmake -C ${S}/tools/testing/selftests/${i}
|
||||||
|
|||||||
Reference in New Issue
Block a user