From: Robert Yang Date: Thu, 10 Jan 2019 07:22:06 +0000 (-0800) Subject: gcc-runtime: Add --cache-file to EXTRA_OECONF X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0d185da70165b9d7e8166bf7e6a1a7065045fea;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gcc-runtime: Add --cache-file to EXTRA_OECONF 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 --- diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc index 50ecc815a50..3d03d8e5715 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 = ""