[oe-commits] [openembedded-core] 08/15: gcc-runtime: Add --cache-file to EXTRA_OECONF

git at git.openembedded.org git at git.openembedded.org
Thu Jan 24 17:46:42 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 48cc7179ffeb89adf1ba5212338b958684e43962
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Wed Jan 23 23:00:02 2019 -0800

    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 <liezhi.yang at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 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 50ecc81..3d03d8e 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 = ""

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list