summaryrefslogtreecommitdiff
path: root/Vars.make
authormickeyl <mickeyl>2003-12-07 15:14:59 (UTC)
committer mickeyl <mickeyl>2003-12-07 15:14:59 (UTC)
commitd4f47b47a8d0b64daca4becf9169dee70c629bab (patch) (side-by-side diff)
tree6c246e95a79ac468fc107aaf9f0904e4a4d40f27 /Vars.make
parent4518f62746143246d29eb9f08030e241ac33eeb7 (diff)
downloadopie-d4f47b47a8d0b64daca4becf9169dee70c629bab.zip
opie-d4f47b47a8d0b64daca4becf9169dee70c629bab.tar.gz
opie-d4f47b47a8d0b64daca4becf9169dee70c629bab.tar.bz2
allow the use of ccache and distcc (if available) for the x86 build
Diffstat (limited to 'Vars.make') (more/less context) (ignore whitespace changes)
-rw-r--r--Vars.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/Vars.make b/Vars.make
index 062094c..1a5d9d4 100644
--- a/Vars.make
+++ b/Vars.make
@@ -98,24 +98,28 @@ ifdef CONFIG_OPTIMIZATIONS
export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS))
export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE))
endif
ifeq ($(STRIP),)
ifneq ($(CONFIG_TARGET_X86),)
STRIP=strip
endif
ifneq ($(CONFIG_TARGET_IPAQ),)
STRIP=arm-linux-strip
endif
ifneq ($(CONFIG_TARGET_SHARP),)
STRIP=arm-linux-strip
endif
ifneq ($(CONFIG_TARGET_RAMSES),)
STRIP=arm-linux-strip
endif
ifneq ($(CONFIG_TARGET_SIMPAD),)
STRIP=arm-linux-strip
endif
ifneq ($(CONFIG_TARGET_YOPY),)
STRIP=arm-linux-strip
endif
endif
+
+export CCACHE=$(shell which ccache 2>/dev/null)
+export DISTCC=$(shell which distcc 2>/dev/null)
+