[OE-core] [PATCH] site/common-linux: Add some macros to avoid sleeps during configure

Richard Purdie richard.purdie at linuxfoundation.org
Mon Dec 7 18:27:29 UTC 2015


If you profile gettext do_configure you notice it has some "sleep 1"
type events occurring. This patch ensures we cache the right values to
avoid those pointless delays there and in any other configure scripts
using the same macros.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

diff --git a/meta/site/common-linux b/meta/site/common-linux
index 8b5be68..448758b 100644
--- a/meta/site/common-linux
+++ b/meta/site/common-linux
@@ -1,3 +1,7 @@
+# gettext - these add sleep delays otherwise
+gl_cv_func_sleep_works=${gl_cv_func_sleep_works=yes}
+gl_cv_header_working_fcntl_h=${gl_cv_header_working_fcntl_h=yes}
+
 # apr
 ac_cv_file__dev_zero=${ac_cv_file__dev_zero=yes}
 ac_cv_sizeof_pid_t=${ac_cv_sizeof_pid_t=4}





More information about the Openembedded-core mailing list