[meta-mingw][PATCH] ninja: configure for mingw platform


Samuli Piippo
 

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
---
recipes-devtools/ninja/ninja_%.bbappend | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 recipes-devtools/ninja/ninja_%.bbappend

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

Join yocto@lists.yoctoproject.org to automatically receive all group messages.