webkit-gtk: remove compile-three-times hack
Remove the hack to handle Make 3.82 which ran make three times, as we sanity check Make and refuse to build with the broken release. (From OE-Core rev: dccd55eaeaee123238372c02c34d476d68816232) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
42ef04b364
commit
1b7f829de7
|
@ -86,26 +86,6 @@ do_configure_append() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
# A dirty hack for GNU make 3.82 bug which means it drops required
|
|
||||||
# dependencies. https://bugs.webkit.org/show_bug.cgi?id=79498 is the WebKitGTK+
|
|
||||||
# bug, and http://savannah.gnu.org/bugs/?30653 is the GNU Make bug. This is
|
|
||||||
# fixed in Make CVS, so 3.83 won't have this problem.
|
|
||||||
do_compile() {
|
|
||||||
if [ x"$MAKE" = x ]; then MAKE=make; fi
|
|
||||||
bbnote ${MAKE} ${EXTRA_OEMAKE} "$@"
|
|
||||||
for error_count in 1 2 3; do
|
|
||||||
bbnote "Attempt $error_count of 3"
|
|
||||||
exit_code=0
|
|
||||||
${MAKE} ${EXTRA_OEMAKE} "$@" || exit_code=1
|
|
||||||
if [ $exit_code = 0 ]; then
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
if [ ! $exit_code = 0 ]; then
|
|
||||||
die "oe_runmake failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
rmdir ${D}${libexecdir}
|
rmdir ${D}${libexecdir}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue