]> 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, 22 Oct 2019 07:48:16 +0000 (08:48 +0100)
commitf59de3985cddfa6bcf719d59ff3f2165f55dbf6c
treee1652bddc641753e275c258d1729d5f99c6ad63b
parented88614ed85864262410b5a1920fa623c61d29cb
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