Joshua Watt
2018-11-21 16:23:03 UTC
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 <***@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 ''}"
working because the it was looking for a non-existent class
("testsdk-mingw") instead of "testsdk"
Signed-off-by: Joshua Watt <***@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
--
2.19.1
--