summaryrefslogtreecommitdiffstats
path: root/conf/machine-sdk/include
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-29 23:46:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-30 00:03:46 +0100
commitcbe0bb6c246cf25a9a159c5963c095d718c59878 (patch)
treec1f93bf6ed2fee0140d7cbcec602168359d7ce0f /conf/machine-sdk/include
parent8f3b6e3772879dc2caec8fe249ce277fbb1aa55f (diff)
downloadmeta-mingw-cbe0bb6c246cf25a9a159c5963c095d718c59878.tar.gz
meta-mingw: Convert to new override syntax
This converts the layer to the new override syntax. This was done using <oe-core>/scripts/contrib/convert-overrides.py <this-layer> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'conf/machine-sdk/include')
-rw-r--r--conf/machine-sdk/include/mingw32-common.inc26
1 files changed, 13 insertions, 13 deletions
diff --git a/conf/machine-sdk/include/mingw32-common.inc b/conf/machine-sdk/include/mingw32-common.inc
index 3997a26..6c43fc9 100644
--- a/conf/machine-sdk/include/mingw32-common.inc
+++ b/conf/machine-sdk/include/mingw32-common.inc
@@ -1,6 +1,6 @@
1SDK_OS = "mingw32" 1SDK_OS = "mingw32"
2SDK_VENDOR_mingw32 = "-w64" 2SDK_VENDOR:mingw32 = "-w64"
3SDK_VENDOR_sdkmingw32 = "-w64" 3SDK_VENDOR:sdkmingw32 = "-w64"
4 4
5NATIVESDKLIBC = "libc-mingw" 5NATIVESDKLIBC = "libc-mingw"
6 6
@@ -10,12 +10,12 @@ PREFERRED_PROVIDER_virtual/nativesdk-libc = "nativesdk-mingw-w64-runtime"
10PREFERRED_PROVIDER_virtual/nativesdk-libintl = "nativesdk-gettext" 10PREFERRED_PROVIDER_virtual/nativesdk-libintl = "nativesdk-gettext"
11PREFERRED_PROVIDER_virtual/nativesdk-libiconv = "nativesdk-libiconv" 11PREFERRED_PROVIDER_virtual/nativesdk-libiconv = "nativesdk-libiconv"
12 12
13USE_NLS_mingw32 = "no" 13USE_NLS:mingw32 = "no"
14 14
15FILES_${PN}-staticdev_append_mingw32 = " ${libdir}/*.lib" 15FILES:${PN}-staticdev:append:mingw32 = " ${libdir}/*.lib"
16ALLOW_EMPTY_${PN}_mingw32 = "1" 16ALLOW_EMPTY:${PN}:mingw32 = "1"
17 17
18DISTRO_FEATURES_FILTER_NATIVESDK_remove_mingw32 = "debuginfod" 18DISTRO_FEATURES_FILTER_NATIVESDK:remove:mingw32 = "debuginfod"
19 19
20# Do what amounts to a NOOP 20# Do what amounts to a NOOP
21SDK_PACKAGING_FUNC = "do_compile" 21SDK_PACKAGING_FUNC = "do_compile"
@@ -25,8 +25,8 @@ SDK_PACKAGING_FUNC = "do_compile"
25 25
26SDKUSE_NLS = "no" 26SDKUSE_NLS = "no"
27SDKIMAGE_LINGUAS = "" 27SDKIMAGE_LINGUAS = ""
28SDK_DEPENDS_remove = "nativesdk-glibc-locale" 28SDK_DEPENDS:remove = "nativesdk-glibc-locale"
29SDK_DEPENDS_remove = "nativesdk-glibc-utils" 29SDK_DEPENDS:remove = "nativesdk-glibc-utils"
30 30
31SDKPKGSUFFIX = "nativesdk-mingw32" 31SDKPKGSUFFIX = "nativesdk-mingw32"
32 32
@@ -35,19 +35,19 @@ MACHINEOVERRIDES .= ":sdkmingw32"
35TESTSDK_CLASS_NAME = "oeqa.sdkmingw.testsdk.TestSDKMinGW" 35TESTSDK_CLASS_NAME = "oeqa.sdkmingw.testsdk.TestSDKMinGW"
36TESTSDKEXT_CLASS_NAME = "" 36TESTSDKEXT_CLASS_NAME = ""
37 37
38WINDRES_mingw32 = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}" 38WINDRES:mingw32 = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}"
39RC_mingw32 = "${WINDRES}" 39RC:mingw32 = "${WINDRES}"
40 40
41export WINDRES 41export WINDRES
42export RC 42export RC
43 43
44BB_HASHBASE_WHITELIST_append = " WINDRES RC" 44BB_HASHBASE_WHITELIST:append = " WINDRES RC"
45 45
46# Needed to override no-static-libs.inc 46# Needed to override no-static-libs.inc
47DISABLE_STATIC_mingw32 = "" 47DISABLE_STATIC:mingw32 = ""
48 48
49# disable security flags 49# disable security flags
50GCCPIE_mingw32 = "" 50GCCPIE:mingw32 = ""
51 51
52# wine and wineserver are required to test MinGW SDKs 52# wine and wineserver are required to test MinGW SDKs
53HOSTTOOLS += "${@'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 ''}" 53HOSTTOOLS += "${@'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 ''}"