author | mickeyl <mickeyl> | 2003-12-07 15:14:59 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-12-07 15:14:59 (UTC) |
commit | d4f47b47a8d0b64daca4becf9169dee70c629bab (patch) (side-by-side diff) | |
tree | 6c246e95a79ac468fc107aaf9f0904e4a4d40f27 /Vars.make | |
parent | 4518f62746143246d29eb9f08030e241ac33eeb7 (diff) | |
download | opie-d4f47b47a8d0b64daca4becf9169dee70c629bab.zip opie-d4f47b47a8d0b64daca4becf9169dee70c629bab.tar.gz opie-d4f47b47a8d0b64daca4becf9169dee70c629bab.tar.bz2 |
allow the use of ccache and distcc (if available) for the x86 build
-rw-r--r-- | Vars.make | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) + |