[meta-mingw] Fix HOSTTOOLS class detection

Submitted by Joshua Watt on Nov. 21, 2018, 4:23 p.m. | Patch ID: 156487

Details

Message ID 20181121162303.10760-1-JPEWhacker@gmail.com
State New
Headers show

Commit Message

Joshua Watt Nov. 21, 2018, 4:23 p.m.
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@gmail.com>
---
 conf/machine-sdk/include/mingw32-common.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

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 ''}"