]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UnixPkg build64.sh: Build UnixPkg X64 with GCC44
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 13 Oct 2010 07:07:03 +0000 (07:07 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 13 Oct 2010 07:07:03 +0000 (07:07 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10926 6f19259b-4bc3-4df7-8a09-765794883524

UnixPkg/build64.sh

index ce3a96fe6608738f6f5251cddf958314ba224f5b..68d705ed5ce0fc9c2e3322f8f1709814269decbe 100755 (executable)
@@ -36,21 +36,21 @@ fi
 # Pick a default tool type for a given OS
 #
 TARGET_TOOLS=MYTOOLS
-UNIXPKG_TOOLS=UNIXPKG
+UNIXPKG_TOOLS=GCC44
 case `uname` in
   CYGWIN*) echo Cygwin not fully supported yet. ;;
-  Darwin*) 
+  Darwin*)
       Major=$(uname -r | cut -f 1 -d '.')
       if [[ $Major == 9 ]]
       then
         echo UnixPkg requires Snow Leopard or later OS
         exit 1
-      else 
+      else
         TARGET_TOOLS=XCODE32
-      fi  
+      fi
       ;;
   Linux*) TARGET_TOOLS=ELFGCC ;;
-    
+
 esac
 
 BUILD_ROOT_ARCH=$WORKSPACE/Build/UnixX64/DEBUG_"$UNIXPKG_TOOLS"/X64
@@ -74,7 +74,7 @@ for arg in "$@"
 do
   if [[ $arg == run ]]; then
     case `uname` in
-      Darwin*) 
+      Darwin*)
         #
         # On Darwin we can't use dlopen, so we have to load the real PE/COFF images.
         # This .gdbinit script sets a breakpoint that loads symbols for the PE/COFFEE
@@ -82,14 +82,14 @@ do
         #
         cp $WORKSPACE/UnixPkg/.gdbinit $WORKSPACE/Build/UnixX64/DEBUG_"$UNIXPKG_TOOLS"/X64
         ;;
-    esac 
+    esac
 
     /usr/bin/gdb $BUILD_ROOT_ARCH/SecMain -q -cd=$BUILD_ROOT_ARCH
     exit
   fi
 
   if [[ $arg == cleanall ]]; then
-    make -C $WORKSPACE/BaseTools clean  
+    make -C $WORKSPACE/BaseTools clean
     build -p $WORKSPACE/UnixPkg/UnixPkgX64.dsc -a X64 -t $TARGET_TOOLS -D SEC_ONLY -n 3 clean
     build -p $WORKSPACE/UnixPkg/UnixPkgX64.dsc -a X64 -t $UNIXPKG_TOOLS -n 3 clean
     exit $?
@@ -100,14 +100,14 @@ do
     build -p $WORKSPACE/UnixPkg/UnixPkgX64.dsc -a X64 -t $UNIXPKG_TOOLS -n 3 clean
     exit $?
   fi
-  
-  
+
+
   if [[ $arg == shell ]]; then
     build -p $WORKSPACE/GccShellPkg/GccShellPkg.dsc -a X64 -t $UNIXPKG_TOOLS -n 3  $2 $3 $4 $5 $6 $7 $8
     exit $?
   fi
-  
-  
+
+
 done