X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=BeagleBoardPkg%2Fbuild.sh;h=f2592b9c752e1e7eecebaae1c08eca6d3fa279de;hb=0d11446d51c796ce1c46944584764bcbd91a4fd2;hp=928d3151ee73888fc4491e1f3ae225f4b5830cd2;hpb=ca3ad58bfa2284f0dc98ec904423e83874a90f52;p=mirror_edk2.git diff --git a/BeagleBoardPkg/build.sh b/BeagleBoardPkg/build.sh index 928d3151ee..f2592b9c75 100755 --- a/BeagleBoardPkg/build.sh +++ b/BeagleBoardPkg/build.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright (c) 2008 - 2009, Apple, Inc. All rights reserved. -# All rights reserved. This program and the accompanying materials +# Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
+# This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at # http://opensource.org/licenses/bsd-license.php @@ -58,8 +58,11 @@ case `uname` in TARGET_TOOLS=RVCT31CYGWIN ;; Linux*) - # Not tested - TARGET_TOOLS=ELFGCC + if [[ ! -z `locate arm-linux-gnueabi-gcc` ]]; then + TARGET_TOOLS=ARMLINUXGCC + else + TARGET_TOOLS=ARMGCC + fi ;; Darwin*) Major=$(uname -r | cut -f 1 -d '.') @@ -132,12 +135,12 @@ rm -f $FLASH_BOOT # # Ram starts at 0x80000000 -# OMAP 3530 TRM defines 0x80008208 as the entry point +# OMAP 3530 TRM defines 0x80008000 as the entry point # The reset vector is caught by the mask ROM in the OMAP 3530 so that is why this entry # point looks so strange. # OMAP 3430 TRM section 26.4.8 has Image header information. (missing in OMAP 3530 TRM) # -$GENERATE_IMAGE -D $WORKSPACE/BeagleBoardPkg/ConfigurationHeader.dat -E 0x80008208 -I $BUILD_ROOT/FV/BEAGLEBOARD_EFI.fd -O $FLASH_BOOT +$GENERATE_IMAGE -D $WORKSPACE/BeagleBoardPkg/ConfigurationHeader.dat -E 0x80008000 -I $BUILD_ROOT/FV/BEAGLEBOARD_EFI.fd -O $FLASH_BOOT echo Creating debugger scripts process_debug_scripts $WORKSPACE/BeagleBoardPkg/Debugger_scripts