]> 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>
Tue, 29 Oct 2019 08:20:37 +0000 (08:20 +0000)
commit0f47d4ef50d6b0732ac40f7ede31f554a757864c
tree21ad4998426596e9d5a3729daff6356aa6dcfac5
parent4aa5d551af3d0eb800c1640c98cbd591224726f8
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>
(cherry picked from commit 40d74cb1d0ddce930267e49764cacb263b244091)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/icecc.bbclass