Commit Graph

479 Commits

Author SHA1 Message Date
klu2 133ed0bf9d Fix bug for -b option
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8305 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-13 05:29:20 +00:00
klu2 66b2a7d529 Add valid range checking for count of multi-thread
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8303 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12 07:40:59 +00:00
klu2 410ee03367 Add checking for options number to avoid user's confusion. The corresponding patch in source is r1583 in build tools project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8302 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12 07:30:04 +00:00
klu2 f6c412fc33 Make improvement that if target directory does not exist, create it. This patch is corresponding to r1582 in build tool project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8301 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12 06:40:10 +00:00
klu2 8ab1d991dc Make tool more intelligence for missing configuration item. The corresponding version number is r1581 in build tools project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8300 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12 06:10:59 +00:00
lgao4 9920798948 Update GenFw help usage information to clarify -z option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8298 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12 04:51:00 +00:00
klu2 2842d31b8f Add more validation for input parameters.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8293 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11 07:44:55 +00:00
klu2 ca2ce09e51 Add warning message that tool chain tag will be ignored if user provide output directory from command line explicitly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8290 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11 07:04:28 +00:00
klu2 5796de6792 Add Fv name checking for build.exe if user gives FV name from command line. originally, this checking is only done by GenFds tool, that is too later.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8288 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11 05:37:56 +00:00
klu2 6d40c636c2 Fix bug that trim crash when no parameter is input.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8287 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11 03:18:42 +00:00
klu2 9449c39f5f Remove -c option for GenFds tool because it does not defined in build specification.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8286 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11 03:01:05 +00:00
klu2 512a785d03 Update TargetTools for add set/get/clean BUILD_RULE_CONF option for target.txt file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8285 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11 02:34:33 +00:00
lgao4 1a98add516 Update EfiRom to handle ClassCode and CodeRevision options correctly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8240 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-05 07:30:35 +00:00
jlin16 de9c25b173 GenFds change efirom command line option from '-I' to '-l'.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8239 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-05 06:26:45 +00:00
jwang36 174566661a Add SMM_DRIVER and SMM_CORE support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8238 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-05 06:01:17 +00:00
jlin16 3b2b355772 GenFds add option ROM parameters override of those in INF file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8237 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-05 05:26:26 +00:00
jwang36 15543340da Implemented feature request hsd202262 and incorporated SMM support
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8229 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-03 06:40:59 +00:00
jljusten c470d83142 Add WIN32 binary build of LzmaCompress. Add LzmaCompress to tools_def.template.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8228 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-01 06:45:01 +00:00
qhuang8 33d487d463 Sync bug fix of Base Tools r1559.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8226 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30 10:45:50 +00:00
lgao4 15a7c2f1fe Update VfrCompiler to handle ideqvallist as the first opcode case. Per UEFI spec, If the expression consists of more than a single opcode, then the first opcode in the expression must have the Scope bit set and the expression must end with EFI_IFR_END
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8143 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-22 02:29:17 +00:00
lgao4 2fd618df9d Enhance VfrCompiler to create the end label for the framework vfr file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8134 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-20 08:11:14 +00:00
jwang36 14ca06407d Frozen from source r1551
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8122 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 07:22:21 +00:00
lgao4 6924b7ae26 Update VfrCompiler to support UEFI 2.1 form classguid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8113 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17 05:27:16 +00:00
lgao4 7a65d44a47 enchance error handling for disableif
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8072 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-13 07:01:18 +00:00
lgao4 299b4cf312 Update GenFw -z option to zero debug data and time stamp.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8039 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-08 09:10:15 +00:00
jwang36 c44fb9d331 Generated from source r1543
a. Fixed PCD database error
b. Fixed inf file extension issue 
c. Fixed an issue in which RealPath() returns None if WORKSPACE root was passed in
d. Check MODULE_TYPE and COMPONENT_TYPE to be defined


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7994 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-31 15:46:16 +00:00
qhuang8 aaf6344c9e Search framework database file at the $(WORKSPACE)/Conf directory
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7985 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-30 09:30:53 +00:00
qhuang8 1b9370bc0f Enhance MigrationMsa2Inf to support extract the GUID value from DEC files. It can also extract the GUID value from XML syntax package files, SPD or NSPD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7983 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-30 07:06:47 +00:00
jwang36 03e0648b32 Built from source r1536:
a. Show correct and bad file path when file name case is wrong
b. Remove the "_FLAGS" check in meta file parser


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7961 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-26 15:14:27 +00:00
jlin16 5489a5003f GenFds fix PCD byte array format support for PCD specified file GUID; enhance warning message for binary module/file path case-sensitive conditions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7949 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-25 08:22:33 +00:00
qhuang8 1e976d75f1 Temporarily rollback the previous check in for more investigations of PCD database data structures difference for PcdPeim and PcdDxe.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7918 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-21 03:59:44 +00:00
jwang36 db488c7865 a. Fixed build break caused by EdkLogger.warning
b. Fixed PCD token number generation issue for PCD in library

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7907 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-19 07:30:32 +00:00
jlin16 024a05ac5c GenFds add support for PCD specified file GUID.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7901 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-17 09:48:47 +00:00
jlin16 d26743215a GenFds add option ROM and Defines section support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7891 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16 10:20:03 +00:00
jwang36 0306d9a9c5 Added a workaround to bypass the error caused by SaveFileToDisk in Common.PyUtility.pyd
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7878 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-13 09:00:45 +00:00
lgao4 25cda2e069 Correct EfiRom tool to don't check vendor id and device id when the input image is the legacy option rom.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7872 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-13 03:28:37 +00:00
jwang36 a114969731 Try to remove duplicated include path in command line option
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7869 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-12 16:39:24 +00:00
jlin16 242d687699 GenFds: hide unnecessary warning information.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7834 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-09 03:41:44 +00:00
jwang36 34a8fc1077 Added support of PCD HII Variable name in C style of unicode string.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7827 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05 15:51:47 +00:00
lgao4 bda0735ba8 Update GenFw tool help text to clarify GenFw tool usage.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7801 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 14:31:14 +00:00
lgao4 3344d7ded8 Update GenFv tool to get FvNameGuid
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7799 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 07:52:49 +00:00
jlin16 e95a695825 GenFds add FV name GUID support.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7798 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04 07:25:18 +00:00
jwang36 2696392b1e Fixed file path issue if the WORKSPACE is the root of a drive (generated from source r1506)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7753 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02 05:55:25 +00:00
jwang36 63418eb7d0 a. Allow different types PCD declaration in dec file
b. Generated from source r1505

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7745 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01 12:53:39 +00:00
jwang36 1a6c62bb0d Frozen from source r1503: added quote marks for the reference of $(MAKE) to avoid build failure because of space in MAKE path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7731 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-28 07:09:00 +00:00
jwang36 a9f61fc3d0 Added the definition of $(MAKE) macro back into top level makefile for the sake of nmake.exe in Visual Studio 2003.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7722 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-26 16:10:19 +00:00
lgao4 b3bf1e80c8 Update GenFv tool to support creating PI extension FV header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7668 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-25 06:28:42 +00:00
jwang36 7e6142874d 1. Fixed the issue which string ID, $LANGUAGE_NAME and $PRINTABLE_LANGUAGE_NAME, were generated if "#langdef" is not in the first uni file.
2. Fixed the issue which "//" would be taken as comment in PCD value in DSC file.
3. Generated from source r1500

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7662 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-24 17:15:45 +00:00
jwang36 16cbc58005 Fixed single module build failure issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7545 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-19 10:00:25 +00:00
jwang36 9a99b39e56 Fixed an issue caused by passing string of fdf file path
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7542 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-18 14:15:15 +00:00