summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-25 23:31:31 +0000
committerlhauch <lhauch@6f19259b-4bc3-4df7-8a09-765794883524>2006-09-25 23:31:31 +0000
commitee2db093289707e787eeea571c0180c2376fac95 (patch)
tree6a5165eaf208989f2fbb1712dae99659f564493d
parentb142dfc02f4d2e18a6816a3a133cc7c8d3ef919c (diff)
downloadedk2-platforms-ee2db093289707e787eeea571c0180c2376fac95.tar.xz
Added the Merge tool information to build.xml and created the MSA file for the merge tool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1619 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--Tools/Source/Merge/Merge.msa32
-rw-r--r--Tools/Tools.spd3
-rw-r--r--Tools/build.xml12
3 files changed, 46 insertions, 1 deletions
diff --git a/Tools/Source/Merge/Merge.msa b/Tools/Source/Merge/Merge.msa
new file mode 100644
index 0000000000..0920899476
--- /dev/null
+++ b/Tools/Source/Merge/Merge.msa
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <MsaHeader>
+ <ModuleName>Merge Tool</ModuleName>
+ <ModuleType>BASE</ModuleType>
+ <GuidValue>fbb48848-4776-44a1-8458-1e84701fb62f</GuidValue>
+ <Version>0.1</Version>
+ <Abstract>The tool merges multiple MSA files (of the same ModuleType) into a single module</Abstract>
+ <Description>Merging multiple modules into a single module is useful for size reduction of the binary images.
+This tool will create an MSA file, based on the content of "leaf" MSA files. It is written so that it can be executed from a command line, or later, incorporated into the Wizard.
+USAGE:
+merge [-v] -t target [-u UiName] [-p PackageFile] [-o OutputFileBasename] dir1\mod1.msa ... dirN\modN.msa</Description>
+ <Copyright>Copyright (c) 2006, Intel Corporation All rights reserved.</Copyright>
+ <License URL="http://opensource.org/licenses/bsd-license.php">This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.</License>
+ <Specification>FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052</Specification>
+ </MsaHeader>
+ <ModuleDefinitions>
+ <SupportedArchitectures>EBC IA32 X64 IPF ARM PPC</SupportedArchitectures>
+ <BinaryModule>false</BinaryModule>
+ <OutputFileBasename>Merge</OutputFileBasename>
+ </ModuleDefinitions>
+ <SourceFiles>
+ <Filename>src/org/tianocore/Mege/CombineMsa.java</Filename>
+ <Filename>src/org/tianocore/Merge/Merge.java</Filename>
+ <Filename>src/org/tianocore/Merge/MergeCmd.java</Filename>
+ <Filename>build.xml</Filename>
+ <Filename>readme.txt</Filename>
+ </SourceFiles>
+</ModuleSurfaceArea> \ No newline at end of file
diff --git a/Tools/Tools.spd b/Tools/Tools.spd
index 6c03bf97d6..b58f304d7b 100644
--- a/Tools/Tools.spd
+++ b/Tools/Tools.spd
@@ -38,5 +38,6 @@
<Filename>Source/SurfaceArea/SurfaceArea.msa</Filename>
<Filename>Source/TianoTools/TianoTools.msa</Filename>
<Filename>Source/MigrationTools/MigrationTools.msa</Filename>
+ <Filename>Source/Merge/Merge.msa</Filename>
</MsaFiles>
-</PackageSurfaceArea>
+</PackageSurfaceArea> \ No newline at end of file
diff --git a/Tools/build.xml b/Tools/build.xml
index ea6a2501d3..e7f10311c4 100644
--- a/Tools/build.xml
+++ b/Tools/build.xml
@@ -40,6 +40,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Source/FrameworkWizard/build.xml
Source/MigrationTools/build.xml
Source/ContextTool/build.xml
+ Source/Merge/build.xml
"/>
</subant>
<echo message="The EDK II Java Tools build has completed!"/>
@@ -55,6 +56,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
</subant>
</target>
+ <target name="Merge" depends="SurfaceArea">
+ <subant target="" verbose="true" inheritall="false">
+ <filelist dir="."
+ files="
+ Source/Merge/build.xml
+ "/>
+ </subant>
+ </target>
+
<target name="SurfaceArea" depends="makeCatalog">
<subant target="" verbose="true" inheritall="false">
<filelist dir="."
@@ -117,6 +127,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Source/TianoTools/build.xml
Source/MigrationTools/build.xml
Source/ContextTool/build.xml
+ Source/Merge/build.xml
"/>
</subant>
</target>
@@ -150,6 +161,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Source/TianoTools/build.xml
Source/MigrationTools/build.xml
Source/ContextTool/build.xml
+ Source/Merge/build.xml
"/>
</subant>
</target>