]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Add an option to build the GccShell. './build.sh shell' or './build64.sh' will buid...
authorandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 23 Jul 2010 22:18:07 +0000 (22:18 +0000)
committerandrewfish <andrewfish@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 23 Jul 2010 22:18:07 +0000 (22:18 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10688 6f19259b-4bc3-4df7-8a09-765794883524

UnixPkg/build.sh
UnixPkg/build64.sh

index 077fb86b81ca74b48f2309295f1214395abdc7c6..e3a208f9b48b880a3f79c287f6e7a83a8495b863 100755 (executable)
@@ -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/GccShellPkg/GccShellPkg.dsc -a IA32 -t $TARGET_TOOLS -n 3 $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 $?
 
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 $?