Provide a method to force rebuild. Using command "edksetup.bat ForceRebuild".
authorwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 6 Jul 2006 08:29:28 +0000 (08:29 +0000)
committerwuyizhong <wuyizhong@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 6 Jul 2006 08:29:28 +0000 (08:29 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@794 6f19259b-4bc3-4df7-8a09-765794883524

edksetup.bat

index 722df88..255abda 100644 (file)
@@ -110,6 +110,10 @@ set CLASSPATH=.;%XMLBEANS_HOME%\lib\jsr173_1.0_api.jar;%XMLBEANS_HOME%\lib\xbean
 set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\xbean_xpath.jar;%XMLBEANS_HOME%\lib\xmlpublic.jar\r
 set CLASSPATH=%CLASSPATH%;%XMLBEANS_HOME%\lib\saxon8.jar;%XMLBEANS_HOME%\lib\resolver.jar\r
 \r
+@if "%1" neq "ForceRebuild" goto NormalBuild\r
+call ant -f %WORKSPACE%\Tools\build.xml cleanall\r
+\r
+:NormalBuild\r
 call ant -f %WORKSPACE%\Tools\build.xml SurfaceArea\r
 \r
 @REM\r