diff options
| author | Samuli Piippo <samuli.piippo@qt.io> | 2020-09-21 10:47:55 +0300 |
|---|---|---|
| committer | Joshua Watt <JPEWhacker@gmail.com> | 2020-09-21 07:54:05 -0500 |
| commit | f1e1d5a803a48ed70f2b0eaf0ef15ade70479fce (patch) | |
| tree | 3fb29d5ebddaa4e3767c7f393374385baad625a1 | |
| parent | 6d8f631533ecf6703b2e640c6e9eff90f738eb78 (diff) | |
| download | meta-mingw-3.2_M3.tar.gz | |
ninja: configure for mingw platform3.2_M3
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
| -rw-r--r-- | recipes-core/images/core-image-mingw-sdktest.bb | 1 | ||||
| -rw-r--r-- | recipes-devtools/ninja/ninja_%.bbappend | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/recipes-core/images/core-image-mingw-sdktest.bb b/recipes-core/images/core-image-mingw-sdktest.bb index 6215aef..9060c3d 100644 --- a/recipes-core/images/core-image-mingw-sdktest.bb +++ b/recipes-core/images/core-image-mingw-sdktest.bb | |||
| @@ -10,6 +10,7 @@ TOOLCHAIN_HOST_TASK += "\ | |||
| 10 | nativesdk-dbus \ | 10 | nativesdk-dbus \ |
| 11 | nativesdk-dtc \ | 11 | nativesdk-dtc \ |
| 12 | nativesdk-libarchive \ | 12 | nativesdk-libarchive \ |
| 13 | nativesdk-ninja \ | ||
| 13 | nativesdk-swig \ | 14 | nativesdk-swig \ |
| 14 | nativesdk-wayland \ | 15 | nativesdk-wayland \ |
| 15 | " | 16 | " |
diff --git a/recipes-devtools/ninja/ninja_%.bbappend b/recipes-devtools/ninja/ninja_%.bbappend new file mode 100644 index 0000000..e7ddb4d --- /dev/null +++ b/recipes-devtools/ninja/ninja_%.bbappend | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | do_compile_mingw32() { | ||
| 2 | python3 ./configure.py --platform mingw | ||
| 3 | ninja | ||
| 4 | } | ||
| 5 | |||
| 6 | do_install_mingw32() { | ||
| 7 | install -D -m 0755 ${S}/ninja.exe ${D}${bindir}/ninja.exe | ||
| 8 | } | ||
