Fix HOSTTOOLS class detection
PATCH 1/1 Fix HOSTTOOLS class detection
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 <[email protected]>
--- conf/machine-sdk/include/mingw32-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine-sdk/include/mingw32-common.inc +1 -1
@@ -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 ''}"
Signature · 1 line
2.19.1