[OE-core] [PATCH 1/3] gettext: Add --cache-file to EXTRA_OECONF

Robert Yang liezhi.yang at windriver.com
Thu Jan 24 07:00:00 UTC 2019


This can save configure time since it runs configure multiple times:
$ time bitbake gettext-native -cconfigure
  2m22s -> 2m2s

  Saved 20s

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 meta/recipes-core/gettext/gettext_0.19.8.1.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/gettext/gettext_0.19.8.1.bb b/meta/recipes-core/gettext/gettext_0.19.8.1.bb
index 933bacc..4049724 100644
--- a/meta/recipes-core/gettext/gettext_0.19.8.1.bb
+++ b/meta/recipes-core/gettext/gettext_0.19.8.1.bb
@@ -39,6 +39,7 @@ EXTRA_OECONF += "--without-lispdir \
                  --without-emacs \
                  --without-cvs \
                  --without-git \
+                 --cache-file=${B}/config.cache \
                 "
 EXTRA_OECONF_append_class-target = " \
                  --with-bisonlocaledir=${datadir}/locale \
-- 
2.10.2



More information about the Openembedded-core mailing list