summaryrefslogtreecommitdiff
path: root/BaseTools
AgeCommit message (Collapse)Author
2009-08-26Adding a python script to enable RVCT 3.1 (ARM ARM compiler) to run in ↵AJFISH
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.jljusten
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.jljusten
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.vanjeff
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.jljusten
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 ↵klu2
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.jljusten
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.jljusten
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 ↵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-17Fix VfrCompiler bug to create varstore name by varstore name field not ↵lgao4
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.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