mirror of https://github.com/acidanthera/audk.git
BeagleBoardPkg: Check if the compiler arm-linux-gnueabi-gcc is present in the path
'arm-linux-gnueabi-gcc' is the compiler attached to the ARMLINUXGCC toolchain. This compiler is available in the PATH environment variable when the Linaro's toolchain package is installed (Ubuntu distribution). If if compiler is in the path then select the ARMLINUXGCC toolchain. This change is to make easier to build UEFI on the BeagleBoard for new starters by hiding the toolchain. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12673 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
fb849d0dc0
commit
0b6b57c4d7
|
@ -58,8 +58,11 @@ case `uname` in
|
||||||
TARGET_TOOLS=RVCT31CYGWIN
|
TARGET_TOOLS=RVCT31CYGWIN
|
||||||
;;
|
;;
|
||||||
Linux*)
|
Linux*)
|
||||||
# Not tested
|
if [[ ! -z `locate arm-linux-gnueabi-gcc` ]]; then
|
||||||
TARGET_TOOLS=ARMGCC
|
TARGET_TOOLS=ARMLINUXGCC
|
||||||
|
else
|
||||||
|
TARGET_TOOLS=ARMGCC
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
Darwin*)
|
Darwin*)
|
||||||
Major=$(uname -r | cut -f 1 -d '.')
|
Major=$(uname -r | cut -f 1 -d '.')
|
||||||
|
|
Loading…
Reference in New Issue