diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-10-13 07:07:03 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-10-13 07:07:03 +0000 |
commit | a761d49719501c5b9ab93b8dae54b2f5353cdb2a (patch) | |
tree | 04766dcc8ab2d0d91134d44e4ad8c19bf40af4c8 | |
parent | cb5e6cd051c60104034f26ec9feab44f224dd384 (diff) | |
download | edk2-platforms-a761d49719501c5b9ab93b8dae54b2f5353cdb2a.tar.xz |
UnixPkg build64.sh: Build UnixPkg X64 with GCC44
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10926 6f19259b-4bc3-4df7-8a09-765794883524
-rwxr-xr-x | UnixPkg/build64.sh | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/UnixPkg/build64.sh b/UnixPkg/build64.sh index ce3a96fe66..68d705ed5c 100755 --- a/UnixPkg/build64.sh +++ b/UnixPkg/build64.sh @@ -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 |