It will provide more developer friendly output in case ccache is not installed.
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=4975
Change-Id: Ic128135191244c5633607f7c09e4a58cf428b15d
Signed-off-by: Tomasz Olszak <t.olszak@samsung.com>
echo "source build/ccache_env.sh desktop|mobile|tv"
}
+if ! type ccache &> /dev/null; then
+ echo "WARNING: ccache option used but ccache is not installed"
+ return 0
+fi
if [ "$1" == "desktop" -o "$1" == "mobile" -o "$1" == "tv" ]; then
OUTPUT_BASE_FOLDER=out.${1}.$(getHostArch)