summaryrefslogtreecommitdiff
path: root/BaseTools/Bin/Win32/build.exe
AgeCommit message (Collapse)Author
2009-07-17Sync binary tool to main trunk tool source. Update VfrCompiler tool to fix ↵lgao4
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-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-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-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-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-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-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-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-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-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-03Implemented feature request hsd202262 and incorporated SMM supportjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8229 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-30Sync bug fix of Base Tools r1559.qhuang8
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8226 6f19259b-4bc3-4df7-8a09-765794883524
2009-04-17Frozen from source r1551jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8122 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-31Generated from source r1543jwang36
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-26Built from source r1536:jwang36
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-21Temporarily rollback the previous check in for more investigations of PCD ↵qhuang8
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-19a. Fixed build break caused by EdkLogger.warning jwang36
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-17GenFds add support for PCD specified file GUID.jlin16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7901 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-16GenFds add option ROM and Defines section support.jlin16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7891 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-13Added a workaround to bypass the error caused by SaveFileToDisk in ↵jwang36
Common.PyUtility.pyd git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7878 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-12Try to remove duplicated include path in command line optionjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7869 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-05Added support of PCD HII Variable name in C style of unicode string.jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7827 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-04GenFds add FV name GUID support.jlin16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7798 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-02Fixed file path issue if the WORKSPACE is the root of a drive (generated ↵jwang36
from source r1506) git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7753 6f19259b-4bc3-4df7-8a09-765794883524
2009-03-01a. Allow different types PCD declaration in dec filejwang36
b. Generated from source r1505 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7745 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-28Frozen from source r1503: added quote marks for the reference of $(MAKE) to ↵jwang36
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-26Added the definition of $(MAKE) macro back into top level makefile for the ↵jwang36
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-241. Fixed the issue which string ID, $LANGUAGE_NAME and ↵jwang36
$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-19Fixed single module build failure issuejwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7545 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-18Fixed an issue caused by passing string of fdf file pathjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7542 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-18Fixed the failure caused by specifying fdf file via "-f" switchjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7541 6f19259b-4bc3-4df7-8a09-765794883524
2009-02-171) Fixed silent mode issue in Linux.jwang36
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-161. Use FAMILY defined in *_TAGNAME_*_*_FAMILY as the toolchain familyjwang36
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-01-23Fixed a PcdEx AutoGen bugjwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7358 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-13Test version for performance concern.jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7249 6f19259b-4bc3-4df7-8a09-765794883524
2009-01-12Fixed the out-of-sync issue of AutoGen-ed files in Windows platform.jwang36
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7248 6f19259b-4bc3-4df7-8a09-765794883524