summaryrefslogtreecommitdiff
path: root/BeagleBoardPkg
diff options
context:
space:
mode:
Diffstat (limited to 'BeagleBoardPkg')
-rwxr-xr-xBeagleBoardPkg/build.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/BeagleBoardPkg/build.sh b/BeagleBoardPkg/build.sh
index 3ce923e9ee..f2592b9c75 100755
--- a/BeagleBoardPkg/build.sh
+++ b/BeagleBoardPkg/build.sh
@@ -58,8 +58,11 @@ case `uname` in
TARGET_TOOLS=RVCT31CYGWIN
;;
Linux*)
- # Not tested
- TARGET_TOOLS=ARMGCC
+ if [[ ! -z `locate arm-linux-gnueabi-gcc` ]]; then
+ TARGET_TOOLS=ARMLINUXGCC
+ else
+ TARGET_TOOLS=ARMGCC
+ fi
;;
Darwin*)
Major=$(uname -r | cut -f 1 -d '.')