summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/icecc-toolchain
Commit message (Collapse)AuthorAgeFilesLines
* icecc-env: don't raise error when icecc not installedAdam Trhon2019-02-161-1/+1
| | | | | | | | | | | | | | When icecc is not installed, the `which icecc` command in icecc-env.sh returns nonzero. This happens when environment is being sourced. When the terminal has `set -e`, the whole script fails and terminal is closed. Fix this by ignoring errors from the which command. (From OE-Core rev: 27a8c14039970105238b66b9f3025435cb7e8a58) Signed-off-by: Adam Trhon <adam.trhon@tbs-biometrics.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-icecc-toolchain: Use TARGET_PREFIX in post-relocateJoshua Watt2019-01-113-8/+8
| | | | | | | | | | | | | | | | The icecc setup for the SDK was broken in multilib configurations now that each multilib environment runs the post-relocate scripts separately. Including $TARGET_PREFIX in the icecc shim path and in the toolchain environment name prevents the various multilib setups from conflicting. [YOCTO #13128] (From OE-Core rev: 13704d7a9d147382169d0c4bd77cb4f5577c65b1) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icecc-toolchain: Remove environment setupJoshua Watt2018-06-151-5/+0
| | | | | | | | | | | The handling of the environment setup was moved to the post-relocate script handler, and so is no longer necessary in the setup script (From OE-Core rev: 710b93a24df6372abd6d7aa0ede8750cf4bf88b4) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-icecc-toolchain: Fix LIC_FILES_CHKSUM md5Martin Jansa2018-02-241-1/+1
| | | | | | | | (From OE-Core rev: 008a023f0c66a5b2e3127407d748a925996c6248) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icecc-toolchain: Disable caret workaroundJoshua Watt2018-02-161-1/+13
| | | | | | | | | | | | | | | | | | Icecream has a behavior that causes it to recompile files locally if gcc generates any warnings or errors. The reason for this is that GCC tries to re-read the input file in order to display the offending line with a caret below it, which doesn't work in the remote chroot. Default to disabling this this workaround and add -fno-diagnostics-show-caret to the GCC flags so that errors and warnings generated by GCC do not show erroneous results. Users can override this default in the SDK by defining ICECC_CARET_WORKAROUND="1" either before or after sourcing the SDK environment. (From OE-Core rev: 8933c2b5cfa59f2289c574e196f945556790c7c1) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* icecc-toolchain: Add SDK icecream setupJoshua Watt2018-02-163-0/+118
Icecream can now be optionally included in the generated SDK by including nativesdk-icecc-toolchain to TOOLCHAIN_HOST_TASK. When the SDK is installed a post-relocation script will check if icecc exists and if so will generate the toolchain environment. (From OE-Core rev: 7e524096879e821256812633ce37cda4b85b3073) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>