]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BeagleBoardPkg/build.sh
BeagleBoardPkg: Check if the compiler arm-linux-gnueabi-gcc is present in the path
[mirror_edk2.git] / BeagleBoardPkg / build.sh
index 3ce923e9ee5993b67b3729bbba855441f5409226..f2592b9c752e1e7eecebaae1c08eca6d3fa279de 100755 (executable)
@@ -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 '.')