]> code.ossystems Code Review - openembedded-core.git/commitdiff
gettext: Add --cache-file to EXTRA_OECONF
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 24 Jan 2019 07:00:00 +0000 (23:00 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 24 Jan 2019 17:45:18 +0000 (17:45 +0000)
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@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/gettext/gettext_0.19.8.1.bb

index 933baccd94fbe5e17836c27dc9d49fba19a7b54f..404972439b9171a601dbb73ffbbd607388081355 100644 (file)
@@ -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 \