mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
Calculate CCACHE_DIR by calling host's ccache config.
Signed-off-by: Alex deVries <alex.devries@windriver.com>
This commit is contained in:
committed by
Richard Purdie
parent
4c72af62b9
commit
84263dbf43
@@ -68,6 +68,10 @@ do_generate_swabber_report () {
|
|||||||
|
|
||||||
REPORTSTAMP=${SWAB_ORIG_TASK}-`date +%2m%2d%2H%2M%Y`
|
REPORTSTAMP=${SWAB_ORIG_TASK}-`date +%2m%2d%2H%2M%Y`
|
||||||
|
|
||||||
|
if [ `which ccache` ] ; then
|
||||||
|
CCACHE_DIR=`( ccache -s | grep "cache directory" | grep -o '[^ ]*$' 2> /dev/null )`
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$(ls -A ${HOST_DATA})" ]; then
|
if [ "$(ls -A ${HOST_DATA})" ]; then
|
||||||
echo "Generating swabber report"
|
echo "Generating swabber report"
|
||||||
swabber -d ${HOST_DATA} -l ${SWABBER_LOGS} -o ${SWABBER_REPORT}/report-${REPORTSTAMP}.txt -r ${SWABBER_REPORT}/extra_report-${REPORTSTAMP}.txt -c all -p ${TOPDIR} -f ${OEROOT}/meta/conf/swabber ${TOPDIR} ${OEROOT} ${CCACHE_DIR}
|
swabber -d ${HOST_DATA} -l ${SWABBER_LOGS} -o ${SWABBER_REPORT}/report-${REPORTSTAMP}.txt -r ${SWABBER_REPORT}/extra_report-${REPORTSTAMP}.txt -c all -p ${TOPDIR} -f ${OEROOT}/meta/conf/swabber ${TOPDIR} ${OEROOT} ${CCACHE_DIR}
|
||||||
|
|||||||
Reference in New Issue
Block a user