diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-29 23:46:45 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-30 00:03:46 +0100 |
| commit | cbe0bb6c246cf25a9a159c5963c095d718c59878 (patch) | |
| tree | c1f93bf6ed2fee0140d7cbcec602168359d7ce0f /conf/machine-sdk/include | |
| parent | 8f3b6e3772879dc2caec8fe249ce277fbb1aa55f (diff) | |
| download | meta-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.inc | 26 |
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 @@ | |||
| 1 | SDK_OS = "mingw32" | 1 | SDK_OS = "mingw32" |
| 2 | SDK_VENDOR_mingw32 = "-w64" | 2 | SDK_VENDOR:mingw32 = "-w64" |
| 3 | SDK_VENDOR_sdkmingw32 = "-w64" | 3 | SDK_VENDOR:sdkmingw32 = "-w64" |
| 4 | 4 | ||
| 5 | NATIVESDKLIBC = "libc-mingw" | 5 | NATIVESDKLIBC = "libc-mingw" |
| 6 | 6 | ||
| @@ -10,12 +10,12 @@ PREFERRED_PROVIDER_virtual/nativesdk-libc = "nativesdk-mingw-w64-runtime" | |||
| 10 | PREFERRED_PROVIDER_virtual/nativesdk-libintl = "nativesdk-gettext" | 10 | PREFERRED_PROVIDER_virtual/nativesdk-libintl = "nativesdk-gettext" |
| 11 | PREFERRED_PROVIDER_virtual/nativesdk-libiconv = "nativesdk-libiconv" | 11 | PREFERRED_PROVIDER_virtual/nativesdk-libiconv = "nativesdk-libiconv" |
| 12 | 12 | ||
| 13 | USE_NLS_mingw32 = "no" | 13 | USE_NLS:mingw32 = "no" |
| 14 | 14 | ||
| 15 | FILES_${PN}-staticdev_append_mingw32 = " ${libdir}/*.lib" | 15 | FILES:${PN}-staticdev:append:mingw32 = " ${libdir}/*.lib" |
| 16 | ALLOW_EMPTY_${PN}_mingw32 = "1" | 16 | ALLOW_EMPTY:${PN}:mingw32 = "1" |
| 17 | 17 | ||
| 18 | DISTRO_FEATURES_FILTER_NATIVESDK_remove_mingw32 = "debuginfod" | 18 | DISTRO_FEATURES_FILTER_NATIVESDK:remove:mingw32 = "debuginfod" |
| 19 | 19 | ||
| 20 | # Do what amounts to a NOOP | 20 | # Do what amounts to a NOOP |
| 21 | SDK_PACKAGING_FUNC = "do_compile" | 21 | SDK_PACKAGING_FUNC = "do_compile" |
| @@ -25,8 +25,8 @@ SDK_PACKAGING_FUNC = "do_compile" | |||
| 25 | 25 | ||
| 26 | SDKUSE_NLS = "no" | 26 | SDKUSE_NLS = "no" |
| 27 | SDKIMAGE_LINGUAS = "" | 27 | SDKIMAGE_LINGUAS = "" |
| 28 | SDK_DEPENDS_remove = "nativesdk-glibc-locale" | 28 | SDK_DEPENDS:remove = "nativesdk-glibc-locale" |
| 29 | SDK_DEPENDS_remove = "nativesdk-glibc-utils" | 29 | SDK_DEPENDS:remove = "nativesdk-glibc-utils" |
| 30 | 30 | ||
| 31 | SDKPKGSUFFIX = "nativesdk-mingw32" | 31 | SDKPKGSUFFIX = "nativesdk-mingw32" |
| 32 | 32 | ||
| @@ -35,19 +35,19 @@ MACHINEOVERRIDES .= ":sdkmingw32" | |||
| 35 | TESTSDK_CLASS_NAME = "oeqa.sdkmingw.testsdk.TestSDKMinGW" | 35 | TESTSDK_CLASS_NAME = "oeqa.sdkmingw.testsdk.TestSDKMinGW" |
| 36 | TESTSDKEXT_CLASS_NAME = "" | 36 | TESTSDKEXT_CLASS_NAME = "" |
| 37 | 37 | ||
| 38 | WINDRES_mingw32 = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}" | 38 | WINDRES:mingw32 = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}" |
| 39 | RC_mingw32 = "${WINDRES}" | 39 | RC:mingw32 = "${WINDRES}" |
| 40 | 40 | ||
| 41 | export WINDRES | 41 | export WINDRES |
| 42 | export RC | 42 | export RC |
| 43 | 43 | ||
| 44 | BB_HASHBASE_WHITELIST_append = " WINDRES RC" | 44 | BB_HASHBASE_WHITELIST:append = " WINDRES RC" |
| 45 | 45 | ||
| 46 | # Needed to override no-static-libs.inc | 46 | # Needed to override no-static-libs.inc |
| 47 | DISABLE_STATIC_mingw32 = "" | 47 | DISABLE_STATIC:mingw32 = "" |
| 48 | 48 | ||
| 49 | # disable security flags | 49 | # disable security flags |
| 50 | GCCPIE_mingw32 = "" | 50 | GCCPIE:mingw32 = "" |
| 51 | 51 | ||
| 52 | # wine and wineserver are required to test MinGW SDKs | 52 | # wine and wineserver are required to test MinGW SDKs |
| 53 | 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 ''}" | 53 | 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 ''}" |
