diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2019-01-23 23:00:02 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-24 17:45:25 +0000 |
commit | 4ed543ef714da9a4f1766b44b5d872ada9345d0f (patch) | |
tree | b1f9f4e46bf00cb47854a039c3ea2e297639e631 /meta | |
parent | 3dc54ec1e646fcdae52c4487da57fbc6bbc77328 (diff) | |
download | poky-4ed543ef714da9a4f1766b44b5d872ada9345d0f.tar.gz |
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 <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime.inc | 1 |
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 = "\ | |||
15 | " | 15 | " |
16 | 16 | ||
17 | EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu" | 17 | EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu" |
18 | EXTRA_OECONF_append = " --cache-file=${B}/config.cache" | ||
18 | 19 | ||
19 | RUNTIMELIBITM = "libitm" | 20 | RUNTIMELIBITM = "libitm" |
20 | RUNTIMELIBITM_arc = "" | 21 | RUNTIMELIBITM_arc = "" |