[yocto] [meta-mingw][PATCH] Fix HOSTTOOLS class detection

Joshua Watt jpewhacker at gmail.com
Wed Nov 21 08:23:03 PST 2018


Adding wine to HOSTTOOLS for the purpose of testing the SDK wasn't
working because the it was looking for a non-existent class
("testsdk-mingw") instead of "testsdk"

Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
---
 conf/machine-sdk/include/mingw32-common.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/machine-sdk/include/mingw32-common.inc b/conf/machine-sdk/include/mingw32-common.inc
index 71e8d45..9011ded 100644
--- a/conf/machine-sdk/include/mingw32-common.inc
+++ b/conf/machine-sdk/include/mingw32-common.inc
@@ -44,5 +44,5 @@ DISABLE_STATIC_mingw32 = ""
 GCCPIE_mingw32 = ""
 
 # wine and wineserver are required to test MinGW SDKs
-HOSTTOOLS += "${@'wine wineserver' if (bb.utils.contains_any('IMAGE_CLASSES', 'testsdk-mingw', True, False, d) or any(x in (d.getVar("BBINCLUDED") or "") for x in ["testsdk-mingw.bbclass"])) else ''}"
+HOSTTOOLS += "${@'wine wineserver' if (bb.utils.contains_any('IMAGE_CLASSES', 'testsdk', True, False, d) or any(x in (d.getVar("BBINCLUDED") or "") for x in ["testsdk.bbclass"])) else ''}"
 
-- 
2.19.1



More information about the yocto mailing list