From 9334145f37bf1eaedca7ed0672d5dc2fdb613861 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Thu, 7 Apr 2022 09:11:49 +0000 Subject: [PATCH] Stage all tools to sysroot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The compile time and runtime tools are referenced by CMake files and if missing from sysroot, it can cause errors suchs as: | The imported target "Qt6::canbusutil" references the file | | "/home/mak/yocto-raspberrypi-latest/build/tmp/work/cortexa53-poky-linux/smartcore/2.2+gitAUTOINC+3970c5b703-r0/recipe-sysroot/usr/bin/canbusutil" | | but this file does not exist. Stage all files in bin and libexec dirs to make sure cmake builds work, even though the binaries are not actually used during the build. Pick-to: 6.3 6.2 Fixes: QTBUG-102370 Fixes: QTBUG-97707 Change-Id: I3326e7b8f970952f6d18591204cb78e5a0defcf5 Reviewed-by: Pasi Petäjäjärvi --- recipes-qt/qt6/qt6.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-qt/qt6/qt6.inc b/recipes-qt/qt6/qt6.inc index cc00df0..e6a1c10 100644 --- a/recipes-qt/qt6/qt6.inc +++ b/recipes-qt/qt6/qt6.inc @@ -37,7 +37,7 @@ python __anonymous() { INSANE_SKIP:${PN}-dbg += "libdir" INSANE_SKIP:${PN}-examples += "libdir dev-so" -SYSROOT_DIRS:append:mingw32 = " ${QT6_INSTALL_BINDIR}" +SYSROOT_DIRS += "${QT6_INSTALL_BINDIR} ${QT6_INSTALL_LIBEXECDIR}" PACKAGE_BEFORE_PN = "${PN}-qmlplugins ${PN}-tools ${PN}-plugins ${PN}-examples"