On 1/25/19 12:23 PM, Khem Raj wrote:
On Thu, Jan 24, 2019 at 2:00 AM Robert Yang <[email protected]> wrote:

This can save configure time since it runs configure multiple times:
$ time bitbake gcc-runtime -cconfigure
   60s -> 54s

   Saved 6s

looks ok. Are we sure this file is preserved across builds

Sorry, what did you mean about preserved across builds, please ?

// Robert


Signed-off-by: Robert Yang <[email protected]>
---
  meta/recipes-devtools/gcc/gcc-runtime.inc | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc 
b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 50ecc81..3d03d8e 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -15,6 +15,7 @@ EXTRA_OECONF_PATHS = "\
  "

  EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
+EXTRA_OECONF_append = " --cache-file=${B}/config.cache"

  RUNTIMELIBITM = "libitm"
  RUNTIMELIBITM_arc = ""
--
2.10.2

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to