forked from len0rd/rockbox
Use --ccache to enable ccache for builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6543 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
88f3a53b7e
commit
2196c8967c
1 changed files with 11 additions and 0 deletions
11
tools/configure
vendored
11
tools/configure
vendored
|
@ -278,9 +278,16 @@ if test "$1" = "--help"; then
|
||||||
echo "Rockbox configure script."
|
echo "Rockbox configure script."
|
||||||
echo "Invoke this in a directory to generate a Makefile to build Rockbox"
|
echo "Invoke this in a directory to generate a Makefile to build Rockbox"
|
||||||
echo "Do *NOT* run this within the tools directory!"
|
echo "Do *NOT* run this within the tools directory!"
|
||||||
|
echo ""
|
||||||
|
echo "Usage: configure [--ccache]"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "$1" = "--ccache"; then
|
||||||
|
echo "Enable ccache for building"
|
||||||
|
ccache="yes"
|
||||||
|
fi
|
||||||
|
|
||||||
if test -r "configure"; then
|
if test -r "configure"; then
|
||||||
# this is a check for a configure script in the current directory, it there
|
# this is a check for a configure script in the current directory, it there
|
||||||
# is one, try to figure out if it is this one!
|
# is one, try to figure out if it is this one!
|
||||||
|
@ -627,6 +634,10 @@ else
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "X$ccache" = "Xyes"; then
|
||||||
|
CC="ccache $CC"
|
||||||
|
fi
|
||||||
|
|
||||||
if test "X$endian" = "Xbig"; then
|
if test "X$endian" = "Xbig"; then
|
||||||
defendian="ROCKBOX_BIG_ENDIAN"
|
defendian="ROCKBOX_BIG_ENDIAN"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue