diff --git a/meta-digi-dey/dynamic-layers/qt6-layer/recipes-qt/qt6/qttools_git.bbappend b/meta-digi-dey/dynamic-layers/qt6-layer/recipes-qt/qt6/qttools_git.bbappend new file mode 100644 index 000000000..3a59ef059 --- /dev/null +++ b/meta-digi-dey/dynamic-layers/qt6-layer/recipes-qt/qt6/qttools_git.bbappend @@ -0,0 +1,10 @@ +# Copyright (C) 2025, Digi International Inc. + +# The native and nativesdk versions of this recipe automatically pull in a +# clang dependency as soon as meta-clang is included in the bblayers. Change +# this so that the dependency only gets added when explicitly setting TOOLCHAIN +# to clang. +QTTOOLS_USE_CLANG = "" + +# This check is copied as-is from meta-qt6 +QTTOOLS_USE_CLANG:toolchain-clang = "${@ 'clang' if bb.utils.vercmp_string_op(d.getVar('LLVMVERSION') or '', '17', '>') else ''}"