]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/build.sh
Add ResetSystemLib instances for PCAT that only supports cold reset and a warm reset...
[mirror_edk2.git] / UnixPkg / build.sh
index 851e59fefa3085b0374a4f76168e4121add90c01..e3a208f9b48b880a3f79c287f6e7a83a8495b863 100755 (executable)
@@ -1,7 +1,7 @@
 #!/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.<BR>
+# 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
@@ -91,6 +91,11 @@ do
   if [[ $arg == cleanall ]]; then
     make -C $WORKSPACE/BaseTools clean  
   fi
+
+  if [[ $arg == shell ]]; then
+    build -p $WORKSPACE/GccShellPkg/GccShellPkg.dsc -a IA32 -t $TARGET_TOOLS -n 3 $2 $3 $4 $5 $6 $7 $8
+    exit $?
+  fi
 done
 
 
@@ -99,8 +104,6 @@ done
 #
 echo $PATH
 echo `which build`
-# Uncomment this if you want to build the shell. 
-#build -p $WORKSPACE/EdkShellPkg/EdkShellPkg.dsc -a IA32 -t $TARGET_TOOLS $1 $2 $3 $4 $5 $6 $7 $8
-build -p $WORKSPACE/UnixPkg/UnixPkg.dsc         -a IA32 -t $TARGET_TOOLS $1 $2 $3 $4 $5 $6 $7 $8
+build -p $WORKSPACE/UnixPkg/UnixPkg.dsc         -a IA32 -t $TARGET_TOOLS -n 3 $1 $2 $3 $4 $5 $6 $7 $8
 exit $?