diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/bitbake.conf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 878c20a018..b623276082 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -444,10 +444,10 @@ CCACHE ??= "" | |||
444 | # Disable ccache explicitly if CCACHE is null since gcc may be a symlink | 444 | # Disable ccache explicitly if CCACHE is null since gcc may be a symlink |
445 | # of ccache some distributions (e.g., Fedora 17). | 445 | # of ccache some distributions (e.g., Fedora 17). |
446 | export CCACHE_DISABLE ??= "${@[0,1][d.getVar('CCACHE', True) == '']}" | 446 | export CCACHE_DISABLE ??= "${@[0,1][d.getVar('CCACHE', True) == '']}" |
447 | # Assign CCACHE_DIR a default value to fix a bug of ccache 3.1.7, | 447 | # ccache < 3.1.10 will create CCACHE_DIR on startup even if disabled, and |
448 | # since it would always create CCACHE_DIR/.ccache even if | 448 | # autogen sets HOME=/dev/null so in certain situations builds can fail. |
449 | # CCACHE_DISABLE = 1. | 449 | # Explicitly export CCACHE_DIR until we can assume ccache >3.1.10 on the host. |
450 | export CCACHE_DIR ??= "${@os.getenv('HOME')}" | 450 | export CCACHE_DIR ??= "${@os.getenv('HOME')}/.ccache" |
451 | 451 | ||
452 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}" | 452 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}" |
453 | 453 | ||