diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-15 14:13:22 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-15 14:30:18 +0100 |
| commit | 59c09e3755f3ceabc7fc31af9346da3524e365e2 (patch) | |
| tree | 9420f4a07c1544d8bd0e34679042c4385938002a | |
| parent | 7fe5976f1cb8dc789349b1eaa211bfd713c8a548 (diff) | |
| download | poky-59c09e3755f3ceabc7fc31af9346da3524e365e2.tar.gz | |
toolchain-scripts: Allow the CONFIGSITE_CACHE variable to be overridden
In multilib and baremetal configurations, this variable can cause a variety of
problems due to the use of TCLIBC. At least allowing it to be overriden
is a start and allows various configurations to avoid the issue.
(From OE-Core rev: cfc43743b0e41cf168cad9cbd4e9d870b8f01f03)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes/toolchain-scripts.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass index ea6aff0780..670e93b1de 100644 --- a/meta/classes/toolchain-scripts.bbclass +++ b/meta/classes/toolchain-scripts.bbclass | |||
| @@ -98,7 +98,7 @@ EOF | |||
| 98 | #we get the cached site config in the runtime | 98 | #we get the cached site config in the runtime |
| 99 | TOOLCHAIN_CONFIGSITE_NOCACHE = "${@siteinfo_get_files(d, True)}" | 99 | TOOLCHAIN_CONFIGSITE_NOCACHE = "${@siteinfo_get_files(d, True)}" |
| 100 | TOOLCHAIN_CONFIGSITE_SYSROOTCACHE = "${STAGING_DIR}/${MLPREFIX}${MACHINE}/${target_datadir}/${TARGET_SYS}_config_site.d" | 100 | TOOLCHAIN_CONFIGSITE_SYSROOTCACHE = "${STAGING_DIR}/${MLPREFIX}${MACHINE}/${target_datadir}/${TARGET_SYS}_config_site.d" |
| 101 | TOOLCHAIN_NEED_CONFIGSITE_CACHE = "${TCLIBC} ncurses" | 101 | TOOLCHAIN_NEED_CONFIGSITE_CACHE ??= "${TCLIBC} ncurses" |
| 102 | 102 | ||
| 103 | #This function create a site config file | 103 | #This function create a site config file |
| 104 | toolchain_create_sdk_siteconfig () { | 104 | toolchain_create_sdk_siteconfig () { |
