]> code.ossystems Code Review - openembedded-core.git/commit
icecc: Export ICECC_CC and friends via wrapper-script
authorDouglas Royds via Openembedded-core <openembedded-core@lists.openembedded.org>
Tue, 1 Oct 2019 04:20:18 +0000 (17:20 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Oct 2019 15:26:14 +0000 (16:26 +0100)
commit40d74cb1d0ddce930267e49764cacb263b244091
treef7c52e4ad4fb0cef4f16073675e7d50dac048417
parent7124051b3b2e91e81c7b8565104ae9c5bea10be1
icecc: Export ICECC_CC and friends via wrapper-script

By exporting ICECC_CC, ICECC_CXX, and ICECC_VERSION in a wrapper-script,
and putting this wrapper-script in the PATH, the Makefiles generated by CMake or
the autotools are able to function correctly outside of bitbake.
This provides a convenient developer workflow in which the
modify-compile-unittest cycle can happen directly in the ${B} directory.

The `rm -f $ICE_PATH/$compiler` line is transitional,
and can go at some later date (October 2020 or later, perhaps).

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/icecc.bbclass