mirror/efi/basetools/.git
10 years agoUpdate comment based on finding an older version of the ARM ELF specification that...
andrewfish [Wed, 31 Mar 2010 18:13:20 +0000 (18:13 +0000)]
Update comment based on finding an older version of the ARM ELF specification that the code conforms to.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1943 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoNot maintained.
hhtian [Thu, 25 Mar 2010 14:42:41 +0000 (14:42 +0000)]
Not maintained.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1942 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd support for ARM MOVW & MOVT relocations. These relocations are different than...
andrewfish [Wed, 24 Mar 2010 17:29:20 +0000 (17:29 +0000)]
Add support for ARM MOVW & MOVT relocations. These relocations are different than other relocations as each instruction only enocodes 1/2 of the 32-bit address so the MOVT that encodes the upper 16-bits requires Addend info in the relocation entry. This is done via Elf32_Rela in ELF by adding the Addend into the relocation data. Usually the Addend is read out of the instruction and the relocation entry points to the instruction. The PE/COFF spec is pending an update to describe ARM MOVW & MOVT relocation types.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1941 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoEnhance EOT tool to make it more robust: Skip the scan of current file when some...
qhuang8 [Tue, 23 Mar 2010 09:18:48 +0000 (09:18 +0000)]
Enhance EOT tool to make it more robust: Skip the scan of current file when some uncoverable error is encountered.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1940 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoPrint the real entry point address for IPF image.
lgao4 [Tue, 23 Mar 2010 09:10:53 +0000 (09:10 +0000)]
Print the real entry point address for IPF image.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1939 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoFix some wording in report
qhuang8 [Fri, 19 Mar 2010 09:47:26 +0000 (09:47 +0000)]
Fix some wording in report

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1938 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd the missing user manuals for tool GenPatchPcdTable and PatchPcdValue tools.
lgao4 [Thu, 18 Mar 2010 11:45:45 +0000 (11:45 +0000)]
Add the missing user manuals for tool GenPatchPcdTable and PatchPcdValue tools.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1937 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoOuput the full path of the generated EFI image in the map file.
lgao4 [Thu, 18 Mar 2010 10:29:38 +0000 (10:29 +0000)]
Ouput the full path of the generated EFI image in the map file.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1936 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoModify Update help information on TianoCore org to sourceforge net.
lgao4 [Thu, 18 Mar 2010 09:16:53 +0000 (09:16 +0000)]
Modify Update help information on TianoCore org to sourceforge net.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1935 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate help information on TianoCore org to sourceforge net.
lgao4 [Thu, 18 Mar 2010 07:43:39 +0000 (07:43 +0000)]
Update help information on TianoCore org to sourceforge net.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1934 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAlways update the generated Map file.
lgao4 [Tue, 16 Mar 2010 08:43:28 +0000 (08:43 +0000)]
Always update the generated Map file.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1933 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd Flag option for Build tool to specify the specific option when parse EDK uni...
lgao4 [Tue, 16 Mar 2010 08:24:57 +0000 (08:24 +0000)]
Add Flag option for Build tool to specify the specific option when parse EDK uni file.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1932 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoRemove the duplicated creation for FD image at one build.
lgao4 [Mon, 15 Mar 2010 10:01:05 +0000 (10:01 +0000)]
Remove the duplicated creation for FD image at one build.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1931 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoDon't zero Linker version of EFI image.
lgao4 [Sun, 14 Mar 2010 04:43:01 +0000 (04:43 +0000)]
Don't zero Linker version of EFI image.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1930 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoFix two parser related issues:
qhuang8 [Fri, 12 Mar 2010 09:11:10 +0000 (09:11 +0000)]
Fix two parser related issues:
1. /* start in INF, but left open
2. Allow "//" comment in UNI file #langdef line in UNI files.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1929 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoRemove the diagnostic logic
qhuang8 [Fri, 12 Mar 2010 07:53:17 +0000 (07:53 +0000)]
Remove the diagnostic logic

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1928 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoFixing tools to support code sourcery ELF GCC variant for ARM. Had to add some noops...
andrewfish [Thu, 11 Mar 2010 19:34:47 +0000 (19:34 +0000)]
Fixing tools to support code sourcery ELF GCC variant for ARM. Had to add some noops for PC relatvie relocation types. Also put in a workaround for parsing dynmaic relocation section. Looks like the ARMCC uses a non standard encoding. Trying to get documenation on this and see if we can get a cleaner fix.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1927 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoFix INC dependency issue in ASM file.
qhuang8 [Thu, 11 Mar 2010 12:01:53 +0000 (12:01 +0000)]
Fix INC dependency issue in ASM file.
The include statement syntax in ASM file is as follows:
include XXX.inc

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1926 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Create platform MAP file to record the fixed function address for XIP module.
lgao4 [Thu, 11 Mar 2010 09:55:59 +0000 (09:55 +0000)]
1. Create platform MAP file to record the fixed function address for XIP module.
2. Show module name not module guid for readability in platform MAP file.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1925 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoSet objcopy's flag to blank for CYGGCC in IA32 and X64 architecture, otherwise it...
klu2 [Thu, 11 Mar 2010 06:00:49 +0000 (06:00 +0000)]
Set objcopy's flag to blank for CYGGCC in IA32 and X64 architecture, otherwise it is the default value "objcopy not needed for" when break CYGGCC building.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1924 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoStart working on support for www.codesourcey.com tool chain. Defacto standard ARM...
andrewfish [Wed, 10 Mar 2010 01:02:15 +0000 (01:02 +0000)]
Start working on support for codesourcey.com tool chain. Defacto standard ARM GCC. Currently relocations arm missing and some compiler intrinsics are also missing. So this is just the start of the port. For some reason the OBJCOPY & SYMRENAME rename to echo did not work when I tried to build using this gcc and Windows dos box.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1923 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoGenerate output file when the output file is older than the input file.
lgao4 [Tue, 9 Mar 2010 08:23:21 +0000 (08:23 +0000)]
Generate output file when the output file is older than the input file.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1922 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoDo not show depex section for UEFI application or SMM core.
qhuang8 [Tue, 9 Mar 2010 07:50:03 +0000 (07:50 +0000)]
Do not show depex section for UEFI application or SMM core.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1921 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Fix a bug that library Destructor is not show properly in report.
qhuang8 [Tue, 9 Mar 2010 07:01:38 +0000 (07:01 +0000)]
1. Fix a bug that library Destructor is not show properly in report.
2. Update driver type in module summary section to be free form if a module INF is not conventional.
3. Don't show global PCD section, flash section and execution order section for single module build mode.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1920 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoFix the typo of OBJCOPY's macro name.
klu2 [Tue, 9 Mar 2010 02:46:46 +0000 (02:46 +0000)]
Fix the typo of OBJCOPY's macro name.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1919 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate to make parser logic more robust in case some fatal error is raised due to...
qhuang8 [Tue, 9 Mar 2010 02:18:46 +0000 (02:18 +0000)]
Update to make parser logic more robust in case some fatal error is raised due to illegal syntax in DSC, the parser should not crash itself.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1918 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoobjcopy in binutil 2.50.0.18 contains a bug that will set a EFI PE image to "RELOC_ST...
klu2 [Fri, 5 Mar 2010 10:23:53 +0000 (10:23 +0000)]
objcopy in binutil 2.50.0.18 contains a bug that will set a EFI PE image to "RELOC_STRIP" image if this image has no ".reloc" section.
This patch is to correct EFI image as relocable after image corrupted by objcopy in UNIXGCC/CYGGCC tool chain.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1917 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate GenFds to support HexValue in DATA region.
lgao4 [Fri, 5 Mar 2010 09:36:39 +0000 (09:36 +0000)]
Update GenFds to support HexValue in DATA region.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1916 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoTemporarily turn on the build report feature and dump the report contents to console...
qhuang8 [Fri, 5 Mar 2010 09:35:36 +0000 (09:35 +0000)]
Temporarily turn on the build report feature and dump the report contents to console so that it can be caught by build log.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1915 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoEnhance DscParser to support !if Macro format.
qhuang8 [Fri, 5 Mar 2010 09:01:51 +0000 (09:01 +0000)]
Enhance DscParser to support !if Macro format.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1914 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd file header for Base Tools make file
qhuang8 [Thu, 4 Mar 2010 10:03:40 +0000 (10:03 +0000)]
Add file header for Base Tools make file

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1913 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd file header for Base Tools make file
qhuang8 [Thu, 4 Mar 2010 09:08:56 +0000 (09:08 +0000)]
Add file header for Base Tools make file

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1912 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoTreat "TARGET" as a special global macro. This can help to use single DSC file for...
qhuang8 [Thu, 4 Mar 2010 02:48:34 +0000 (02:48 +0000)]
Treat "TARGET" as a special global macro. This can help to use single DSC file for debug/release profile.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1911 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate Conditional statement(!if..) in DSC/FDF statement to require the mandatory...
qhuang8 [Thu, 4 Mar 2010 02:45:19 +0000 (02:45 +0000)]
Update Conditional statement(!if..) in DSC/FDF statement to require the mandatory $() for macro name.
This is a non-backward compatible change that might require the manual update of current DSC/FDF file. (The error message printed out by the tool will help user to solve the incompatible issue)

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1910 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdated X64 headers to version that includes stdint.h.
geekboy15a [Wed, 3 Mar 2010 02:48:39 +0000 (02:48 +0000)]
Updated X64 headers to version that includes stdint.h.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1909 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoEnhance build report to report module information for single module build.
qhuang8 [Wed, 3 Mar 2010 02:01:51 +0000 (02:01 +0000)]
Enhance build report to report module information for single module build.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1908 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoRemove check outputDir in workspace directory, because DSC/FDF spec has no such requi...
lgao4 [Tue, 2 Mar 2010 03:06:47 +0000 (03:06 +0000)]
Remove check outputDir in workspace directory, because DSC/FDF spec has no such requirement.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1907 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoStrip the leading and trailing blanks when comparing non-number type PcdValue and...
qhuang8 [Tue, 2 Mar 2010 02:54:05 +0000 (02:54 +0000)]
Strip the leading and trailing blanks when comparing non-number type PcdValue and printing the PcdValue.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1906 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Add logic to force MetaFileParser as singleton
qhuang8 [Mon, 1 Mar 2010 10:46:27 +0000 (10:46 +0000)]
1. Add logic to force MetaFileParser as singleton
2. Fix DSC Parser Error for Condition Macro in Component Subsection

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1905 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoTurn on objcopy for CYGGCC tool chain to avoid big size impact due to "-g" option...
klu2 [Mon, 1 Mar 2010 05:37:49 +0000 (05:37 +0000)]
Turn on objcopy for CYGGCC tool chain to avoid big size impact due to "-g" option is opened.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1904 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoFix the bug to support PI not compressed compression section.
lgao4 [Fri, 26 Feb 2010 10:07:19 +0000 (10:07 +0000)]
Fix the bug to support PI not compressed compression section.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1903 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agomingw-gcc-build.py: Add ability to skip building GCC or binutils
jljusten [Thu, 25 Feb 2010 22:02:59 +0000 (22:02 +0000)]
mingw-gcc-build.py: Add ability to skip building GCC or binutils

Added --skip-binutils and --skip-gcc parameters.

A recent upgrade to the binutils version make it useful to just
build the binutils without rebuilding GCC.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1902 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agomingw-gcc-build.py: Fix binutils version to match md5sum
jljusten [Thu, 25 Feb 2010 22:01:54 +0000 (22:01 +0000)]
mingw-gcc-build.py: Fix binutils version to match md5sum

The given md5sum was for binutils 2.20.51.0.5, but the path
was listing version 2.20.51.0.1.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1901 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpgrade the binutil 2.18.50.0.5 to 2.20.51.0.5 for UNIXGCC tool chain
klu2 [Thu, 25 Feb 2010 10:53:39 +0000 (10:53 +0000)]
Upgrade the binutil 2.18.50.0.5 to 2.20.51.0.5 for UNIXGCC tool chain

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1900 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoSet the default value in BuildReport.py
qhuang8 [Wed, 24 Feb 2010 16:26:21 +0000 (16:26 +0000)]
Set the default value in BuildReport.py

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1899 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd prediction expression
qhuang8 [Wed, 24 Feb 2010 10:22:12 +0000 (10:22 +0000)]
Add prediction expression

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1898 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Remove unconditionally build report for build tools stable snapshot candidate
qhuang8 [Wed, 24 Feb 2010 09:43:15 +0000 (09:43 +0000)]
1. Remove unconditionally build report for build tools stable snapshot candidate
2. Add debug print trace for the execution of EOT tool

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1897 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoEnhance VfrCompiler to support HiiFormMap feature.
lgao4 [Wed, 24 Feb 2010 09:18:03 +0000 (09:18 +0000)]
Enhance VfrCompiler to support HiiFormMap feature.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1896 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate to not raise error to fail the normal build if some un-handled exception is...
qhuang8 [Wed, 24 Feb 2010 09:00:54 +0000 (09:00 +0000)]
Update to not raise error to fail the normal build if some un-handled exception is encountered in Build report logic.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1895 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Fix the bug to support BlockSize with PCD value setting.
lgao4 [Wed, 24 Feb 2010 08:05:26 +0000 (08:05 +0000)]
1. Fix the bug to support BlockSize with PCD value setting.
2. Support FD section without FdName is set when only FD image is specified in FDF file.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1894 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. In same include file checkpoint, remove "\" of the beginning of file path
hchen30 [Wed, 24 Feb 2010 07:47:57 +0000 (07:47 +0000)]
1. In same include file checkpoint, remove "\" of the beginning of file path
2. In duplicate pcd checkpoint, now it is set to only check FDF/DSC files with the same filename. The duplicate PCD in A.dsc and B.fdf will not be considered as a failure.
3. In name convention checkpoint, fix a bug of unnecessary work path going through.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1893 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoFix typo in platform summary report.
qhuang8 [Wed, 24 Feb 2010 07:12:46 +0000 (07:12 +0000)]
Fix typo in platform summary report.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1892 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate the build tools devel mail list in python source.
qhuang8 [Wed, 24 Feb 2010 03:27:13 +0000 (03:27 +0000)]
Update the build tools devel mail list in python source.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1891 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agotools_def: Fix VS2008 build issue
jljusten [Wed, 24 Feb 2010 03:16:52 +0000 (03:16 +0000)]
tools_def: Fix VS2008 build issue

rc.exe is no longer located in the Visual C++ bin
directory.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1890 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate manual format
qhuang8 [Wed, 24 Feb 2010 03:11:09 +0000 (03:11 +0000)]
Update manual format

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1889 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate manual format
qhuang8 [Wed, 24 Feb 2010 03:01:38 +0000 (03:01 +0000)]
Update manual format

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1888 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Add file header for all __init__.py
qhuang8 [Wed, 24 Feb 2010 02:40:19 +0000 (02:40 +0000)]
1. Add file header for all __init__.py
2. Update ANTLR grammar file C.g to inject file header to the output CLexer.py and CParser.py

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1887 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdating GCC 4.4 support for improved binary size.
geekboy15a [Wed, 24 Feb 2010 01:18:37 +0000 (01:18 +0000)]
Updating GCC 4.4 support for improved binary size.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1886 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoCreate load fix address map when single module build with fds target.
lgao4 [Tue, 23 Feb 2010 14:16:18 +0000 (14:16 +0000)]
Create load fix address map when single module build with fds target.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1885 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate build Utility Man to sync current build tool
qhuang8 [Tue, 23 Feb 2010 08:53:17 +0000 (08:53 +0000)]
Update build Utility Man to sync current build tool

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1884 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate build command line option for -Y to separate fixed address & execution order.
qhuang8 [Tue, 23 Feb 2010 08:52:16 +0000 (08:52 +0000)]
Update build command line option for -Y to separate fixed address & execution order.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1883 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoFix one bug about library dependency display issue.
qhuang8 [Mon, 22 Feb 2010 06:37:38 +0000 (06:37 +0000)]
Fix one bug about library dependency display issue.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1882 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd debug logic to print trace entries for major logic of build report.
qhuang8 [Mon, 22 Feb 2010 02:45:51 +0000 (02:45 +0000)]
Add debug logic to print trace entries for major logic of build report.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1881 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoDefer the data collection for build report to make the build duration time more accurate.
qhuang8 [Sun, 21 Feb 2010 10:42:23 +0000 (10:42 +0000)]
Defer the data collection for build report to make the build duration time more accurate.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1880 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Ignore depex section for SEC, PEI_CORE & DXE_CORE
qhuang8 [Sun, 21 Feb 2010 09:27:58 +0000 (09:27 +0000)]
1. Ignore depex section for SEC, PEI_CORE & DXE_CORE
2. Show (None) if an EDKII module INF does not have [depex] section, although it is the same as TRUE
3. Always add () for library depex for consistency.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1879 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUse alternative algorithm to collect PCD default value from all platform dependent...
qhuang8 [Sat, 20 Feb 2010 03:22:58 +0000 (03:22 +0000)]
Use alternative algorithm to collect PCD default value from all platform dependent DEC files.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1878 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoSet XCODE32 ARM default to armv7
andrewfish [Fri, 19 Feb 2010 18:50:56 +0000 (18:50 +0000)]
Set XCODE32 ARM default to armv7

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1877 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate the template for RVCT size optimized image, and update RVCT tools path to...
andrewfish [Thu, 18 Feb 2010 03:12:47 +0000 (03:12 +0000)]
Update the template for RVCT size optimized image, and update RVCT tools path to match the one I have installed.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1876 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoChange default cpu target to ARMv7-A.
andrewfish [Thu, 18 Feb 2010 01:49:23 +0000 (01:49 +0000)]
Change default cpu target to ARMv7-A.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1875 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoBaseTools GenFv: Fix build warning on X64 Linux
jljusten [Fri, 12 Feb 2010 09:01:11 +0000 (09:01 +0000)]
BaseTools GenFv: Fix build warning on X64 Linux

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1874 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUse info to echo the report file location
qhuang8 [Fri, 12 Feb 2010 08:29:23 +0000 (08:29 +0000)]
Use info to echo the report file location

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1873 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd @REM for windows BAT file comment
qhuang8 [Fri, 12 Feb 2010 08:28:55 +0000 (08:28 +0000)]
Add @REM for windows BAT file comment

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1872 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate GenVtf manual document format.
lgao4 [Fri, 12 Feb 2010 03:25:44 +0000 (03:25 +0000)]
Update GenVtf manual document format.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1871 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd BSD license header for some source files and scripts in build tools project.
qhuang8 [Fri, 12 Feb 2010 03:24:54 +0000 (03:24 +0000)]
Add BSD license header for some source files and scripts in build tools project.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1870 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoFix headers.
andrewfish [Thu, 11 Feb 2010 18:11:16 +0000 (18:11 +0000)]
Fix headers.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1869 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoFix OS X build error due to warning.
andrewfish [Thu, 11 Feb 2010 18:10:37 +0000 (18:10 +0000)]
Fix OS X build error due to warning.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1868 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd log info if build report is successfully generated.
qhuang8 [Thu, 11 Feb 2010 12:32:39 +0000 (12:32 +0000)]
Add log info if build report is successfully generated.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1867 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Fix absolute path issue in duplicate include file checkpoint
hchen30 [Thu, 11 Feb 2010 11:06:13 +0000 (11:06 +0000)]
1. Fix absolute path issue in duplicate include file checkpoint
2. Fix a bug in PCD calling function type checkpoint
3. Add two new error types for function prototype checkpoint and add exception support for it.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1866 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoSupport HII VOID* dynamic/dynamicEx type PCD.
klu2 [Thu, 11 Feb 2010 08:21:03 +0000 (08:21 +0000)]
Support HII VOID* dynamic/dynamicEx type PCD.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1865 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoTurn on report feature unconditionally for code coverage on various platform build.
qhuang8 [Thu, 11 Feb 2010 06:36:15 +0000 (06:36 +0000)]
Turn on report feature unconditionally for code coverage on various platform build.
This is temporal and should be removed later.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1864 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Print VTF file offset info
qhuang8 [Thu, 11 Feb 2010 06:18:05 +0000 (06:18 +0000)]
1. Print VTF file offset info
2. Sort the module list according to their offset in FV

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1863 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoMinor update AutoGen.c template to avoid global variable initialization:
qhuang8 [Thu, 11 Feb 2010 05:26:23 +0000 (05:26 +0000)]
Minor update AutoGen.c template to avoid global variable initialization:
static EFI_STATUS  mDriverEntryPointStatus = EFI_LOAD_ERROR;
This statement might fail EBC compiler

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1862 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years ago1. Support EFI image with none zero base address.
lgao4 [Wed, 10 Feb 2010 11:59:18 +0000 (11:59 +0000)]
1. Support EFI image with none zero base address.
2. Check whether the specified fixed top address is page alignment.
3. Make sure that IPF runtime EFI image at 2 page alignment address.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1861 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoSupport EFI image with none zero base address.
lgao4 [Wed, 10 Feb 2010 11:57:15 +0000 (11:57 +0000)]
Support EFI image with none zero base address.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1860 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate PCD report for the correct override relationship
qhuang8 [Tue, 9 Feb 2010 15:11:09 +0000 (15:11 +0000)]
Update PCD report for the correct override relationship

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1859 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate the license header format
qhuang8 [Tue, 9 Feb 2010 13:08:13 +0000 (13:08 +0000)]
Update the license header format

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1858 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoEnhance PCD report to display Dynamic HII and VPD type PCD extra info
qhuang8 [Tue, 9 Feb 2010 10:18:16 +0000 (10:18 +0000)]
Enhance PCD report to display Dynamic HII and VPD type PCD extra info

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1857 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoEnhance build tool to support "UEFI_SPECIFICATION_VERSION" in INF spec. It also suppo...
qhuang8 [Tue, 9 Feb 2010 10:16:00 +0000 (10:16 +0000)]
Enhance build tool to support "UEFI_SPECIFICATION_VERSION" in INF spec. It also supports the original "EFI_SPECIFICATION_VERION" for backward compatibility.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1856 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoAdd license header for the sample exception.xml
qhuang8 [Tue, 9 Feb 2010 01:52:22 +0000 (01:52 +0000)]
Add license header for the sample exception.xml

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1855 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoFix UEFI_SPECIFICATION_VERSION display defect.
qhuang8 [Mon, 8 Feb 2010 10:03:53 +0000 (10:03 +0000)]
Fix UEFI_SPECIFICATION_VERSION display defect.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1854 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate ImageSize to align 4K page size for load module at fix address feature.
lgao4 [Mon, 8 Feb 2010 09:05:12 +0000 (09:05 +0000)]
Update ImageSize to align 4K page size for load module at fix address feature.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1853 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoECC file license header and predicate expression check fix.
jlin16 [Mon, 8 Feb 2010 07:06:35 +0000 (07:06 +0000)]
ECC file license header and predicate expression check fix.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1852 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate to not generate EOT report when the FV list in empty
qhuang8 [Mon, 8 Feb 2010 06:29:04 +0000 (06:29 +0000)]
Update to not generate EOT report when the FV list in empty

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1851 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoRemove spec macro definitions in AutoGen.h for EDKII native modules as these macros...
qhuang8 [Mon, 8 Feb 2010 06:05:26 +0000 (06:05 +0000)]
Remove spec macro definitions in AutoGen.h for EDKII native modules as these macros should not be used in EDKII native source code.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1850 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoEnhance StringRef to support STRING_TOKEN syntax.
lgao4 [Mon, 8 Feb 2010 05:50:15 +0000 (05:50 +0000)]
Enhance StringRef to support STRING_TOKEN syntax.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1849 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoCorrect copyright time.
lgao4 [Fri, 5 Feb 2010 06:59:58 +0000 (06:59 +0000)]
Correct copyright time.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1848 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoCorrect copyright of C tools.
lgao4 [Fri, 5 Feb 2010 06:50:09 +0000 (06:50 +0000)]
Correct copyright of C tools.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1847 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate TimeData help in GenFw to specify time zone impacts time scope.
lgao4 [Fri, 5 Feb 2010 03:33:51 +0000 (03:33 +0000)]
Update TimeData help in GenFw to specify time zone impacts time scope.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1846 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoCorrect GuidAttr type to array.
lgao4 [Fri, 5 Feb 2010 02:07:49 +0000 (02:07 +0000)]
Correct GuidAttr type to array.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1845 c2973edb-eda0-4c78-bc6a-9341b269661f

10 years agoUpdate GenFds tool to use common PeImageClass to get PeImage section alignment.
lgao4 [Fri, 5 Feb 2010 01:44:01 +0000 (01:44 +0000)]
Update GenFds tool to use common PeImageClass to get PeImage section alignment.

git-svn-id: https://edk2-buildtools.svn.sourceforge.net/svnroot/edk2-buildtools/trunk/BaseTools@1844 c2973edb-eda0-4c78-bc6a-9341b269661f