]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/build64.sh
Add an option to build the GccShell. './build.sh shell' or './build64.sh' will buid...
[mirror_edk2.git] / UnixPkg / build64.sh
index 90e2b7d02510af60ee0b77de942f6a9e487a4fea..f2a6927d5723092347bbdf92207dfd0c46a62abb 100755 (executable)
@@ -91,6 +91,12 @@ do
   if [[ $arg == cleanall ]]; then
     make -C $WORKSPACE/BaseTools clean  
   fi
+  if [[ $arg == shell ]]; then
+    build -p $WORKSPACE/GccShellPkg/GccShellPkg.dsc -a X64 -t $TARGET_TOOLS -n 3  $2 $3 $4 $5 $6 $7 $8
+    exit $?
+  fi
+  
+  
 done
 
 
@@ -99,8 +105,6 @@ done
 #
 echo $PATH
 echo `which build`
-# Uncomment this if you want to build the shell. 
-build -p $WORKSPACE/GccShellPkg/GccShellPkg.dsc -a X64 -t $TARGET_TOOLS -n 3 $1 $2 $3 $4 $5 $6 $7 $8
 build -p $WORKSPACE/UnixPkg/UnixPkgX64.dsc      -a X64 -t $TARGET_TOOLS -n 3 $1 $2 $3 $4 $5 $6 $7 $8
 exit $?