From a0d185da70165b9d7e8166bf7e6a1a7065045fea Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Wed, 9 Jan 2019 23:22:06 -0800 Subject: [PATCH] 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 --- 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 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 = "" -- 2.47.2