summaryrefslogtreecommitdiff
path: root/BaseTools
AgeCommit message (Collapse)AuthorFilesLines
2009-11-09Sync tool code to BuildTools project r1739.lgao465-583/+1840
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9397 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-11updated basetools binary files which are validated synced with r1707.vanjeff24-0/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9258 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-11Sync basetools' source and binary files with r1707 of the basetools project.vanjeff91-975/+1795
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9257 6f19259b-4bc3-4df7-8a09-765794883524
2009-09-01Add /GF compiler option for IPF ICC tool chains by default.qhuang81-8/+8
This option enables read-only string pools to reduce the final PE/COFF image size. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9220 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-26Adding a python script to enable RVCT 3.1 (ARM ARM compiler) to run in ↵AJFISH9-0/+88
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-15Change the default location for IASL on Unix.jljusten1-1/+2
The default is now /usr/bin/iasl, but $(HOME)/programs/iasl is also shown as a commented example. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9077 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-15Remove '/' directory separator from CYGWIN & UNIXGCC tool specications.jljusten1-76/+76
This allows for the UNIXGCC_*_PETOOLS_PREFIX and CYGWIN_* macros to potentially have a prefix before the executable name. This allows more flexibility for gcc/binutils when the executables include a prefix. Some commented examples are shown where this might be used. For example: DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = i386-pc-mingw32- or DEFINE UNIXGCC_IA32_PETOOLS_PREFIX = ENV(HOME)/programs/gcc/ia32/bin/i686-pc-mingw32- git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9076 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-12build tools will break if PEIM or DXE driver has no valid [Depex] section.vanjeff2-2/+14
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9057 6f19259b-4bc3-4df7-8a09-765794883524
2009-08-05Update links for broken urls in BaseTools/gcc/mingw-gcc-build.py script.jljusten1-22/+28
The new version of mingw-w64-snapshot-20090419.tar.bz2 requires a modification to IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/UefiLzma.h in order to build successfully with the new mingw header files. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9027 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-21Hot fixing for the bug that GenFw can not convert ELF to PE format ↵klu217-7/+25
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-18Restore symlinks & scripts with proper svn properties set.jljusten31-0/+65
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8972 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-18Remove broken BinWrappers links/scripts.jljusten31-65/+0
They will be re-added in next commit. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8971 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17Sync binary tool to main trunk tool source. Update VfrCompiler tool to fix ↵lgao425-2/+2
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-17Fix VfrCompiler bug to create varstore name by varstore name field not ↵lgao42-6/+4
structure field for framework Vfr. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8968 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-17Check In tool source code based on Build tool project revision r1655.lgao4532-32/+231447
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.lgao41-1/+1
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.lgao424-0/+0
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.klu225-1/+1
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 ↵lgao425-1/+1
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 ↵xli2418-1/+1
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 ↵xli2425-1/+1
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 ↵klu222-1/+1
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 optionklu21-2/+2
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 ↵klu218-1/+1
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 ↵klu225-1/+1
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.klu224-1/+1
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 ↵klu23-0/+0
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.lgao42-21/+38
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 pathklu21-1/+2
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 klu23-12/+1
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 ↵klu221-0/+0
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.klu21-0/+0
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"".klu21-0/+0
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.lgao41-0/+0
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 FvImagelgao41-0/+0
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 ↵klu21-0/+0
"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 ↵klu21-3/+3
"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.klu21-0/+4
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 ↵klu22-0/+0
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 ↵rsun31-0/+0
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 ↵klu21-0/+0
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.lgao41-0/+0
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.lgao41-0/+0
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.rsun31-0/+0
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 ↵lgao41-0/+0
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.lgao43-0/+0
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.lgao411-0/+0
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 ↵klu21-0/+0
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 ↵klu21-0/+0
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 ↵klu21-0/+0
by strgather introduced latest check-in. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8345 6f19259b-4bc3-4df7-8a09-765794883524