summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2019-01-09 23:22:06 -0800
committerRobert Yang <liezhi.yang@windriver.com>2019-01-23 22:55:11 -0800
commita0d185da70165b9d7e8166bf7e6a1a7065045fea (patch)
treec5d1bb33b8d269080743178cdbdca9aa8fe32c69
parentc50e7d5fa5d065d8385d85458fdc61ced18ef8f4 (diff)
downloadopenembedded-core-contrib-rbt/cf.tar.gz
openembedded-core-contrib-rbt/cf.tar.bz2
openembedded-core-contrib-rbt/cf.zip
gcc-runtime: Add --cache-file to EXTRA_OECONFrbt/cf
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>
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 50ecc815a5..3d03d8e571 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 = ""