summaryrefslogtreecommitdiff
path: root/BaseTools
AgeCommit message (Collapse)Author
2009-07-17Check In tool source code based on Build tool project revision r1655.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8964 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13Synchronize build tools binaries with source code r1655 at build tool project.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8919 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13ynchronize build tools binaries with source code r1655 at build tool project.lgao4
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-10Synchronize build tools binaries with source code r1654 at build tool project.klu2
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-09Synchronize the build tools' binary with source files at r1645 in build tool ↵lgao4
project. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8828 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-08Synchronize the build tools' binary with source files at r1640 in build tool ↵xli24
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-08Synchronize the build tools' binary with source files at r1639 in build tool ↵xli24
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-06Synchronize the build tools' binary with source files at r1637 in build tool ↵klu2
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-06add quote for file path in @file optionklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8762 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-01Synchronize the binary with modification at build tool project r1634. The ↵klu2
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-06-23Synchronize the binary with build tools' source at r1630 which fix the issue ↵klu2
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-21Synchronize all binaries with build tools source base on r1628.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8617 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-19Synchronize binary with modification of r1618 in buildtools project. The ↵klu2
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-17Add ASL_OUTFLAG to contain the different ASL output options.lgao4
ASL_FLAG to contain other ASL options. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8584 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-12Clarify build tools project's combo pathklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8535 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-12Add missing python binary freezed from build tools project at r1623 klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8534 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-11Synchronize the source of build tool from build tool project (r1623) to ↵klu2
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-05Fix a typo in help message.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8475 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-04Fix issue that build is broken if a dynamic PCD's value is L"".klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8460 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-03Update GenFw tool to zero time/date by default.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8450 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-02Fix bug to fill Startup AP Vector address in FvImagelgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8443 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-02The MULTIPLE_THREAD should be choice from "Disable", "Enable" but not ↵klu2
"TRUE", "FALSE" git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8442 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-02The MULTIPLE_THREAD should be choice from "Disable", "Enable" but not ↵klu2
"TRUE", "FALSE" git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8441 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-02Add MULTIPLE_THREAD option.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8439 6f19259b-4bc3-4df7-8a09-765794883524
2009-06-011, Add checking for input parameter tool tag which is used to find external ↵klu2
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-05-31Update build.exe after StrGather was updated. Add -s build flag in ↵rsun3
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-27Fix the bug that build tool and PCD driver can not deal with byte array or ↵klu2
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-26Correct GenPage to get the input option value.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8387 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-26Correct the parameter parser of GenBootSector.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8385 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-26Update build.exe after StrGather python script was changed.rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8383 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-26Remove the tool PcdSyntaxUpdate.exe. This tool is an obsolete tool. It is ↵lgao4
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-25Fix minor bug in tools.lgao4
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-25Add the checking to the input parameter of tools.lgao4
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-21Build tool need generate different value macro's name for PatchableInModule ↵klu2
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-21Fix the bug that TAB character in uni file make unicode string missing in ↵klu2
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-20temporary roll back build.exe because the some string definition are missed ↵klu2
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-20Freeze for build tool check-in r1591: Fix bug in the processing of ↵klu2
backslashes in UNI files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8341 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-18Originally, there are following implementation:klu2
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-13Fix bug for -b optionklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8305 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-13Add checking for configuration template file.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8304 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12Add valid range checking for count of multi-threadklu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8303 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-12Add checking for options number to avoid user's confusion. The corresponding ↵klu2
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-12Make improvement that if target directory does not exist, create it. This ↵klu2
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-12Make tool more intelligence for missing configuration item. The ↵klu2
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-12Update GenFw help usage information to clarify -z option.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8298 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11Add more validation for input parameters.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8293 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11Add warning message that tool chain tag will be ignored if user provide ↵klu2
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-11Add Fv name checking for build.exe if user gives FV name from command line. ↵klu2
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-11Fix bug that trim crash when no parameter is input.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8287 6f19259b-4bc3-4df7-8a09-765794883524
2009-05-11Remove -c option for GenFds tool because it does not defined in build ↵klu2
specification. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8286 6f19259b-4bc3-4df7-8a09-765794883524