diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-02 22:42:05 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-04 11:17:52 +0000 |
commit | 67493a015472fcdb53ca6f852c809a5d2390a1ea (patch) | |
tree | 12e27de659acff9c966623a1d43cf7c71c621d34 /conf | |
download | meta-mingw-67493a015472fcdb53ca6f852c809a5d2390a1ea.tar.gz |
Initial population
Diffstat (limited to 'conf')
-rw-r--r-- | conf/layer.conf | 9 | ||||
-rw-r--r-- | conf/machine-sdk/i686-mingw32.conf | 2 | ||||
-rw-r--r-- | conf/machine-sdk/x86_64-mingw32.conf | 24 |
3 files changed, 35 insertions, 0 deletions
diff --git a/conf/layer.conf b/conf/layer.conf new file mode 100644 index 0000000..a32fa82 --- /dev/null +++ b/conf/layer.conf | |||
@@ -0,0 +1,9 @@ | |||
1 | # We have a conf and classes directory, add to BBPATH | ||
2 | BBPATH := "${BBPATH}:${LAYERDIR}" | ||
3 | |||
4 | # We have a packages directory, add to BBFILES | ||
5 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" | ||
6 | |||
7 | BBFILE_COLLECTIONS += "meta-mingw" | ||
8 | BBFILE_PATTERN_meta-mingw := "^${LAYERDIR}/" | ||
9 | BBFILE_PRIORITY_meta-mingw = "8" | ||
diff --git a/conf/machine-sdk/i686-mingw32.conf b/conf/machine-sdk/i686-mingw32.conf new file mode 100644 index 0000000..d9d0952 --- /dev/null +++ b/conf/machine-sdk/i686-mingw32.conf | |||
@@ -0,0 +1,2 @@ | |||
1 | SDK_ARCH = "i686" | ||
2 | SDK_OS = "mingw32" | ||
diff --git a/conf/machine-sdk/x86_64-mingw32.conf b/conf/machine-sdk/x86_64-mingw32.conf new file mode 100644 index 0000000..b41b4a8 --- /dev/null +++ b/conf/machine-sdk/x86_64-mingw32.conf | |||
@@ -0,0 +1,24 @@ | |||
1 | SDK_ARCH = "x86_64" | ||
2 | SDK_OS = "mingw32" | ||
3 | |||
4 | GCCTHREADS_mingw32 = "win32" | ||
5 | |||
6 | PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc = "nativesdk-mingw-w64-runtime" | ||
7 | PREFERRED_PROVIDER_virtual/nativesdk-libc = "nativesdk-mingw-w64-runtime" | ||
8 | PREFERRED_PROVIDER_virtual/nativesdk-libintl = "nativesdk-mingw-w64-runtime" | ||
9 | PREFERRED_PROVIDER_virtual/nativesdk-libiconv = "nativesdk-libiconv" | ||
10 | |||
11 | USE_NLS_mingw32 = "no" | ||
12 | |||
13 | FILES_${PN}-staticdev_append_mingw32 = " ${libdir}/*.lib" | ||
14 | ALLOW_EMPTY_${PN}_mingw32 = "1" | ||
15 | |||
16 | # Do what amounts to a NOOP | ||
17 | SDK_PACKAGING_FUNC = "do_compile" | ||
18 | SDKTAROPTS_append = " -h --hard-dereference" | ||
19 | |||
20 | SDKUSE_NLS = "no" | ||
21 | |||
22 | SDKPKGSUFFIX = "nativesdk-mingw32" | ||
23 | |||
24 | MACHINEOVERRIDES .= ":sdkmingw32" | ||