Skip to contentSkip to conversation

ninja: configure for mingw platform

PATCH Superseded Samuli Piippo 2 participants 2 messages Sep 18, 2020 – Sep 19, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ninja: configure for mingw platform

---
 recipes-devtools/ninja/ninja_%.bbappend | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 recipes-devtools/ninja/ninja_%.bbappend
recipes-devtools/ninja/ninja_%.bbappend new file +8 -0
new file mode 100644
index 0000000..e7ddb4d
@@ -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
+}
Signature · 1 line
2.17.1
#1 lore raw
Quoted 2 lines · Samuli Piippo

Thanks! Can you add this to core-image-mingw-sdktest to test it doesn't regress? Bonus points for writing a runtime test for it if there isn't one already

---

Quoted 23 lines
 recipes-devtools/ninja/ninja_%.bbappend | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 recipes-devtools/ninja/ninja_%.bbappend
recipes-devtools/ninja/ninja_%.bbappend new file +8 -1
new file mode 100644
index 0000000..e7ddb4d
@@ -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