From: Robert Yang Date: Thu, 24 Jan 2019 07:00:02 +0000 (-0800) Subject: gcc-runtime: Add --cache-file to EXTRA_OECONF X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4ed543ef714da9a4f1766b44b5d872ada9345d0f;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 (From OE-Core rev: 48cc7179ffeb89adf1ba5212338b958684e43962) Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- 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 = ""