Signed-off-by: Samuli Piippo <[email protected]>
---
 recipes-core/images/core-image-mingw-sdktest.bb | 1 +
 recipes-devtools/ninja/ninja_%.bbappend         | 8 ++++++++
 2 files changed, 9 insertions(+)
 create mode 100644 recipes-devtools/ninja/ninja_%.bbappend

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 += "\
     nativesdk-dbus \
     nativesdk-dtc \
     nativesdk-libarchive \
+    nativesdk-ninja \
     nativesdk-swig \
     nativesdk-wayland \
     "
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 @@
+do_compile_mingw32() {
+        python3 ./configure.py --platform mingw
+        ninja
+}
+
+do_install_mingw32() {
+        install -D -m 0755  ${S}/ninja.exe ${D}${bindir}/ninja.exe
+}
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#50746): https://lists.yoctoproject.org/g/yocto/message/50746
Mute This Topic: https://lists.yoctoproject.org/mt/76986070/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to