From 3ccce9f9a1b7bb22878c61de1256cb5ec3413d5a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 10 Feb 2011 16:02:53 +0100 Subject: add basic ccache support --- scripts/scan-pkgs.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'scripts') diff --git a/scripts/scan-pkgs.sh b/scripts/scan-pkgs.sh index 956892e5f..c92c6c107 100644 --- a/scripts/scan-pkgs.sh +++ b/scripts/scan-pkgs.sh @@ -326,4 +326,11 @@ if [[ -n $NEED_PYTHON ]]; then fi fi +if [[ -n $ADK_USE_CCACHE ]]; then + if ! which ccache >/dev/null 2>&1; then + echo >&2 You have selected to build with ccache, but ccache could not be found. + out=1 + fi +fi + exit $out -- cgit v1.2.3