]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc-runtime: Add --cache-file to EXTRA_OECONF
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 24 Jan 2019 07:00:02 +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 gcc-runtime -cconfigure
  60s -> 54s

  Saved 6s

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-runtime.inc

index 50ecc815a50ffb978bcbe28666cb4d32b653cf50..3d03d8e57159b02ba2a1e69c8bb1db6662a21cb8 100644 (file)
@@ -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 = ""