summaryrefslogtreecommitdiffstats
path: root/meta/classes/image-swab.bbclass
diff options
context:
space:
mode:
authorAlex deVries <alex.devries@windriver.com>2010-11-18 11:37:25 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-17 10:47:02 +0000
commit84263dbf43eba5cd99ce59062cef807a966e7312 (patch)
tree2c088b882f186c8a5f6365209df009fa9264c55c /meta/classes/image-swab.bbclass
parent4c72af62b920110862be5e1a6c2af993defcb15c (diff)
downloadpoky-84263dbf43eba5cd99ce59062cef807a966e7312.tar.gz
Calculate CCACHE_DIR by calling host's ccache config.
Signed-off-by: Alex deVries <alex.devries@windriver.com>
Diffstat (limited to 'meta/classes/image-swab.bbclass')
-rw-r--r--meta/classes/image-swab.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/image-swab.bbclass b/meta/classes/image-swab.bbclass
index 28918d0a40..ec949ffe2e 100644
--- a/meta/classes/image-swab.bbclass
+++ b/meta/classes/image-swab.bbclass
@@ -68,6 +68,10 @@ do_generate_swabber_report () {
68 68
69 REPORTSTAMP=${SWAB_ORIG_TASK}-`date +%2m%2d%2H%2M%Y` 69 REPORTSTAMP=${SWAB_ORIG_TASK}-`date +%2m%2d%2H%2M%Y`
70 70
71 if [ `which ccache` ] ; then
72 CCACHE_DIR=`( ccache -s | grep "cache directory" | grep -o '[^ ]*$' 2> /dev/null )`
73 fi
74
71 if [ "$(ls -A ${HOST_DATA})" ]; then 75 if [ "$(ls -A ${HOST_DATA})" ]; then
72 echo "Generating swabber report" 76 echo "Generating swabber report"
73 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} 77 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}