change zsh to bash for ccache not requirement issu
This commit is contained in:
parent
8770c7e489
commit
b4aec16ada
2 changed files with 3 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/zsh
|
#!/bin/bash
|
||||||
|
|
||||||
. ./environment.sh
|
. ./environment.sh
|
||||||
|
|
||||||
|
|
|
@ -20,19 +20,10 @@ export BUILDROOT="$KIVYIOSROOT/build"
|
||||||
export CACHEROOT="$KIVYIOSROOT/.cache"
|
export CACHEROOT="$KIVYIOSROOT/.cache"
|
||||||
|
|
||||||
# some tools
|
# some tools
|
||||||
|
export CCACHE=$(which ccache)
|
||||||
CCACHE=$(which ccache)
|
|
||||||
|
|
||||||
if [ "$(which ccache)" != '' ]; then
|
|
||||||
export CCACHE=$(which ccache)
|
|
||||||
echo "CCACHE detecté in '$CCACHE'"
|
|
||||||
else
|
|
||||||
echo "CCACHE not used"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# flags for arm compilation
|
# 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_AR="$DEVROOT/usr/bin/ar"
|
||||||
export ARM_LD="$DEVROOT/usr/bin/ld"
|
export ARM_LD="$DEVROOT/usr/bin/ld"
|
||||||
export ARM_CFLAGS="-march=armv7 -mcpu=arm176jzf -mcpu=cortex-a8"
|
export ARM_CFLAGS="-march=armv7 -mcpu=arm176jzf -mcpu=cortex-a8"
|
||||||
|
|
Loading…
Reference in a new issue