Commit Graph

569 Commits

Author SHA1 Message Date
lgao4 a709adfaf0 Sync tool code to BuildTools project r1783.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9623 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 06:16:53 +00:00
lgao4 b303ea726e Sync tool code to BuildTools project r1739.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9397 6f19259b-4bc3-4df7-8a09-765794883524
2009-11-09 11:47:35 +00:00
vanjeff ef12a160de updated basetools binary files which are validated synced with r1707.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9258 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-11 06:49:52 +00:00
vanjeff fd171542e0 Sync basetools' source and binary files with r1707 of the basetools project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9257 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-11 03:14:43 +00:00
AJFISH c719e02c14 Adding a python script to enable RVCT 3.1 (ARM ARM compiler) to run in cygwin. The build system passes cygpaths and the Windows tool can not deal with that. The python converts paths to C:\ to make RVCT 3.1 happy. This has been fixed in RVCT 4.0. The ARM processor does not support instructions like divide, so compiler specific intrinsics are required. The .libs are checked in here and referenced from the tools_def.template file, so they are automatically included when the compiler is invoked. The souce to these .lib files will be checkin soon in a new ArmPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9201 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-26 21:08:05 +00:00
klu2 58e4d80096 Hot fixing for the bug that GenFw can not convert ELF to PE format correctly, the root cause is invalid size of OptionalHeader is computed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8976 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-21 16:56:35 +00:00
lgao4 66775d1cb6 Sync binary tool to main trunk tool source. Update VfrCompiler tool to fix varstore name is not correctly generated.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8969 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17 11:31:09 +00:00
lgao4 7bc6c82b85 ynchronize build tools binaries with source code r1655 at build tool project.
Fix a bug that GenFv tool can't generate the correct top reset vector table for IA32, X64 and IPF arch SEC module.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8918 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 05:23:00 +00:00
klu2 66e1951f49 Synchronize build tools binaries with source code r1654 at build tool project.
The modifications includes:
1) Correct the issue that build tool generate UINT8 array for unicode string type PCD, it maybe cause alignment issue. Now build tool will generate UINT16 array for unicode string type PCD.
2) Merge FdfParser.py updates to FdfParserLite.py
3) Replace EFI_IMAGE_NT_HEADERS with EFI_IMAGE_OPTIONAL_HEADER_UNION. (GenFv)
The code referencing EFI_IMAGE_NT_HEADERS has been modified to
refer to EFI_IMAGE_OPTIONAL_HEADER_UNION => Pe32/Pe32Plus.
4) Remove definitions of build machine specific types.
Remove EFI_IMAGE_OPTIONAL_HEADER, EFI_IMAGE_NT_HEADERS,
EFI_IMAGE_NT_OPTIONAL_HDR_MAGIC, and EFI_IMAGE_MACHINE_TYPE_SUPPORTED,
since these were defined differently based on the architecture
of the build machine.  The BaseTools should support the edk2
supported processor architectures and not depend on the architecture
of the build platform.
5) Added support for the ARM processor type
Added RVCT as a ToolChainFamily (Real View Compiler Tools from ARM)
Enabled FixedAtBuild 32-bit PCDs to be used from GCC or RVCT assembler.
Updated GenFw to support RVCT ELF images and removed #ifdefs for ELF. Also made ELF to PE/COFF features available on all supported build targets for the tools by adding some FreeBSD ELF headers.
Updated GenFv to support the ARM reset vector in ZeroBytes of the FV header.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8872 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-10 09:38:06 +00:00
lgao4 c437405563 Synchronize the build tools' binary with source files at r1645 in build tool project.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8828 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-09 05:47:15 +00:00
xli24 ee33873da1 Synchronize the build tools' binary with source files at r1640 in build tool project.
This update adds error check for environment path existence.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8823 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 15:47:25 +00:00
xli24 ee0b896904 Synchronize the build tools' binary with source files at r1639 in build tool project.
This update fixes the bug of unmatched paths due to case-sensitive comparison on case-insensitive systems.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8814 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08 08:49:33 +00:00
klu2 61374f5d4f Synchronize the build tools' binary with source files at r1637 in build tool project.
The modifications are:
1. Support BuildRuleFamily attribute of tool chain tag to be filtered build rule.
2. Enhance GenFds tool to get the default PcdValue from DEC file.
3. Enhance AutoGen to generate library function constructors for SEC type module.  

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8764 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-06 15:13:54 +00:00
klu2 e8c42f8a7d Synchronize the binary with modification at build tool project r1634. The modification is adjusting the regular expression to handle more "#include" case when build tool calculate the dependency for source file. This modification has been tested under UNIX and MSFT tool chain.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8699 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01 06:44:37 +00:00
klu2 03476bf384 Synchronize the binary with build tools' source at r1630 which fix the issue that the dependency of some header files is missed in Gnu makefile
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8623 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-23 05:42:02 +00:00
klu2 23d0599aae Synchronize all binaries with build tools source base on r1628.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8617 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-21 13:33:37 +00:00
klu2 e189fded67 Synchronize binary with modification of r1618 in buildtools project. The modification is made for WorkspaceDatabase.py and affect the frozen binary of build.exe, GenFds.exe and TargetTools.exe
The modification is add additional checking for whether need renew the immediate file workspace database, the renew reason maybe:
The renew reason maybe:
1) If user force to renew;
2) If user do not force renew, and
   a) If the time of last modified python source is newer than database file;
   b) If the time of last modified frozen executable file is newer than database file, the executable file is build.exe in window and build in Linux/Unix/OSX

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8615 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19 15:55:44 +00:00
klu2 273f5ad101 Add missing python binary freezed from build tools project at r1623
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8534 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-12 01:41:25 +00:00
klu2 94ca8fffcb Synchronize the source of build tool from build tool project (r1623) to binary in edk2 project at (r8530)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8531 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-11 09:45:52 +00:00
klu2 d616bf7593 Fix a typo in help message.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8475 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-05 05:27:16 +00:00
klu2 33cf9937a9 Fix issue that build is broken if a dynamic PCD's value is L"".
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8460 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-04 03:37:24 +00:00
lgao4 86fe4ef3f8 Update GenFw tool to zero time/date by default.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8450 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-03 03:22:08 +00:00
lgao4 ac4e7050a3 Fix bug to fill Startup AP Vector address in FvImage
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8443 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-02 08:49:35 +00:00
klu2 740cce9ec0 The MULTIPLE_THREAD should be choice from "Disable", "Enable" but not "TRUE", "FALSE"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8442 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-02 07:12:54 +00:00
klu2 a7ef0a80e1 1, Add checking for input parameter tool tag which is used to find external tools.
2, Make some minor fixing for TargetTool.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8424 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-01 08:56:04 +00:00
rsun3 94fe1ac9f6 Update build.exe after StrGather was updated. Add -s build flag in EdkShellPkg.dsc so that .UNI files with ISO 639-2 language codes of EDK Shell can be built.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8413 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-31 07:46:19 +00:00
klu2 d09651693b Fix the bug that build tool and PCD driver can not deal with byte array or ANSIC type value for dynamic PCD.
This patch including following change:
1) Build tools:
   a) StringTable in generated PCD database is changed to UINT8 array but not original UINT16, because it can also stored the ANSIC and byte array.
   b) The layout of string table in PCD database is changed. To make sure unicode string is in double byte aligned, the item in string table which hold unicode string value will be put ahead than other items. After unicode string item, the HII variable name item is immediate. The byte array item and ANSIC string array item will be put at tail of whole string table.
   c) Fix bug that build tools does not handle the size of unicode string, byte array and ANSIC string.
2) PCD PEI/DXE driver:
   The pointer of StringTable is changed to UINT8* but not original UINT16*.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8392 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-27 11:34:11 +00:00
lgao4 68b54c0c25 Correct GenPage to get the input option value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8387 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-26 09:01:42 +00:00
lgao4 8aea08dc20 Correct the parameter parser of GenBootSector.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8385 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-26 07:26:08 +00:00
rsun3 b0a5e682d6 Update build.exe after StrGather python script was changed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8383 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-26 03:40:56 +00:00
lgao4 527a098160 Remove the tool PcdSyntaxUpdate.exe. This tool is an obsolete tool. It is added to be used to update PCD format according to INF 0.44, DEC 0.41, DSC 0.40. But, now EDKII code base conforms to the newest public 1.1 version INF, DEC and DSC spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8382 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-26 03:05:07 +00:00
lgao4 1df9325aee Fix minor bug in tools.
1. Incorrect usage help of TianoCompress tool
2. Wrong check for the input parameters of GenVtf tool.
3. The potential issues to get FFS files in GenFv tool.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8379 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-25 08:24:08 +00:00
lgao4 f6427e83c8 Add the checking to the input parameter of tools.
Support the tool parameter options according to tool user manual.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8378 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-25 05:53:00 +00:00
klu2 ab4e42d903 Build tool need generate different value macro's name for PatchableInModule type PCD against FixedAtBuild PCD.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8368 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 08:43:22 +00:00
klu2 14073b3f8c Fix the bug that TAB character in uni file make unicode string missing in autogen file. Corresponding version in build tool project is r1592.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8364 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-21 04:39:36 +00:00
klu2 b20d41df13 temporary roll back build.exe because the some string definition are missed by strgather introduced latest check-in.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8345 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 09:44:31 +00:00
klu2 32685030d8 Freeze for build tool check-in r1591: Fix bug in the processing of backslashes in UNI files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8341 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-20 02:20:07 +00:00
klu2 8968742e88 Originally, there are following implementation:
1) The collect action of platform's dynamic PCD database is trigged by module's autogen action. 
2) If platform is used for more than one architecture, two platform object will be created

Above two rules will cause an issue for single module building that if
1) platform support IA32 and X64
2) do single module for X64 module

then, the dynamic PCD for IA32 modules will missed in PCD database, because no IA32 module need autogen so collection action for IA32 module is not trigged.

Now, I think the collection action for platform dynamic PCD should be explicitly called after PlatformAutoGen is created.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8323 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18 07:09:48 +00:00
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
jwang36 56cdcbe1a5 Fixed the failure caused by specifying fdf file via "-f" switch
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7541 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-18 12:10:56 +00:00
jwang36 510750f5cf 1) Fixed silent mode issue in Linux.
2) Fixed customized build issue in Duet.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7532 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-17 04:14:58 +00:00
jwang36 a7d376877f 1. Use FAMILY defined in *_TAGNAME_*_*_FAMILY as the toolchain family
2. Force file name case check in Windows
3. Consolidate file/path operations
4. Support binary file type in build_rule.txt
5. Generate $(FILE_TYPES) macro only when it's used in build_rule.txt
6. Fix HSD202142 and HSD202144
 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7529 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-16 13:37:23 +00:00
jwang36 70e5ca2731 Fixed a PcdEx AutoGen bug
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7358 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-23 08:37:07 +00:00
lgao4 9d35ff8b32 Enhance GenFw tool to zero PeImage .xdata section (free form exception data) unused in BIOS, which can increase the compression ratio for the BIOS image.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7321 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-21 01:50:10 +00:00
jwang36 d95ecf491b Using share mode to create file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7251 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 05:43:25 +00:00
jwang36 dacae1e8f8 Test version for performance concern.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7249 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13 03:35:05 +00:00
jwang36 0ae247182a Fixed the out-of-sync issue of AutoGen-ed files in Windows platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7248 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12 08:03:23 +00:00
jwang36 0c9ee2af3f Change the name of extension
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7246 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12 06:12:10 +00:00
jwang36 5884bab5eb A test version making use Windows API to create AutoGen files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7244 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12 05:44:06 +00:00
jwang36 67d1416a43 Roll back to normal version
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7240 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12 02:15:03 +00:00
jwang36 afa5db88b0 A trial version making use of pywin32 api to create file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7239 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-11 08:21:41 +00:00