change zsh to bash for ccache not requirement issu

This commit is contained in:
Stéphane Planquart 2011-12-09 23:43:49 +01:00
parent 8770c7e489
commit b4aec16ada
2 changed files with 3 additions and 12 deletions

View file

@ -1,4 +1,4 @@
#!/bin/zsh
#!/bin/bash
. ./environment.sh

View file

@ -20,19 +20,10 @@ export BUILDROOT="$KIVYIOSROOT/build"
export CACHEROOT="$KIVYIOSROOT/.cache"
# some tools
CCACHE=$(which ccache)
if [ "$(which ccache)" != '' ]; then
export CCACHE=$(which ccache)
echo "CCACHE detecté in '$CCACHE'"
else
echo "CCACHE not used"
fi
export CCACHE=$(which ccache)
# flags for arm compilation
export ARM_CC="$DEVROOT/usr/bin/arm-apple-darwin10-llvm-gcc-4.2"
export ARM_CC="$CCACHE $DEVROOT/usr/bin/arm-apple-darwin10-llvm-gcc-4.2"
export ARM_AR="$DEVROOT/usr/bin/ar"
export ARM_LD="$DEVROOT/usr/bin/ld"
export ARM_CFLAGS="-march=armv7 -mcpu=arm176jzf -mcpu=cortex-a8"