aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/build b/build
index 34a34ed6a11..b0e49ebfa16 100755
--- a/build
+++ b/build
@@ -24,7 +24,9 @@ fi
mkdir -p $1
-export CROSS_COMPILE=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-
+if [ -z "$CROSS_COMPILE" ]; then
+ export CROSS_COMPILE=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-
+fi
make O=$1 ARCH=arm silentoldconfig
#