Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] webkit-gtk: workaround races with make 3.82 by rerunning make
@ 2012-08-17  8:55 Andreas Müller
  2012-08-17  8:55 ` [PATCH 2/2] webkit-gtk: update to 1.8.2 Andreas Müller
  0 siblings, 1 reply; 7+ messages in thread
From: Andreas Müller @ 2012-08-17  8:55 UTC (permalink / raw)
  To: openembedded-core


Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta/recipes-sato/webkit/webkit-gtk_1.8.1.bb |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-sato/webkit/webkit-gtk_1.8.1.bb b/meta/recipes-sato/webkit/webkit-gtk_1.8.1.bb
index dd43811..afd3a7a 100644
--- a/meta/recipes-sato/webkit/webkit-gtk_1.8.1.bb
+++ b/meta/recipes-sato/webkit/webkit-gtk_1.8.1.bb
@@ -81,6 +81,23 @@ do_configure_append() {
 	done
 }
 
+# dirty hack for gnu make 3.82 race condition
+do_compile() {
+    if [ x"$MAKE" = x ]; then MAKE=make; fi
+    bbnote make ${PARALLEL_MAKE} "$@"
+    for error_count in 1 2 3; do
+        bbnote "Number of trials: $error_count"
+        exit_code=0
+        make ${PARALLEL_MAKE} "$@" || exit_code=1
+        if [ $exit_code = 0 ]; then
+            break
+        fi
+    done
+    if [ ! $exit_code = 0 ]; then
+        die "oe_runmake failed"
+    fi
+}
+
 do_install_append() {
 	rmdir ${D}${libexecdir}
 }
-- 
1.7.6.5




^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-08-17 12:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-17  8:55 [PATCH 1/2] webkit-gtk: workaround races with make 3.82 by rerunning make Andreas Müller
2012-08-17  8:55 ` [PATCH 2/2] webkit-gtk: update to 1.8.2 Andreas Müller
2012-08-17  9:00   ` Burton, Ross
2012-08-17  9:05     ` Andreas Müller
2012-08-17 10:13       ` Burton, Ross
2012-08-17 10:15         ` Burton, Ross
2012-08-17 12:08   ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox