Update Binary Fat module to release version for reduce size.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1477 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2006-09-06 07:07:07 +00:00
parent 2619585ad0
commit 4100d1493e
4 changed files with 15 additions and 11 deletions

View File

@ -21,8 +21,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<!-- Default target --> <!-- Default target -->
<target name="main"> <target name="main">
<copy file="${MODULE_DIR}/${ARCH}/${BASE_NAME}.FFS" <OnDependency>
tofile="${BIN_DIR}/${FILE_GUID}-${BASE_NAME}.FFS" /> <sourcefiles>
<file name="${MODULE_DIR}/${ARCH}/${BASE_NAME}.FFS"/>
</sourcefiles>
<targetfiles>
<file name="${BIN_DIR}/${FILE_GUID}-${BASE_NAME}.FFS"/>
</targetfiles>
<sequential>
<copy file="${MODULE_DIR}/${ARCH}/${BASE_NAME}.FFS" tofile="${BIN_DIR}/${FILE_GUID}-${BASE_NAME}.FFS" />
</sequential>
</OnDependency>
</target> </target>
<target name="clean"> <target name="clean">

Binary file not shown.

Binary file not shown.

View File

@ -20,31 +20,26 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<property name="BASE_NAME" value="Logo" /> <property name="BASE_NAME" value="Logo" />
<!-- Default target --> <!-- Default target -->
<target name="main" depends="sourcefiles, sections, output" /> <target name="main" depends="sections, output" />
<target name="sourcefiles">
<copy file="${MODULE_DIR}/Logo.bmp"
tofile="${DEST_DIR_OUTPUT}/Logo.bmp" />
</target>
<target name="sections"> <target name="sections">
<OnDependency> <OnDependency>
<sourcefiles> <sourcefiles>
<file name="${DEST_DIR_OUTPUT}/logo.bmp"/> <file name="${MODULE_DIR}/logo.bmp"/>
</sourcefiles> </sourcefiles>
<targetfiles> <targetfiles>
<file name="${DEST_DIR_OUTPUT}/Logo.sec"/> <file name="${DEST_DIR_OUTPUT}/Logo.sec"/>
</targetfiles> </targetfiles>
<sequential> <sequential>
<gensection inputfile="${DEST_DIR_OUTPUT}/logo.bmp" <gensection inputfile="${MODULE_DIR}/logo.bmp"
outputfile="${DEST_DIR_OUTPUT}/Logo.sec" outputfile="${DEST_DIR_OUTPUT}/Logo.sec"
sectiontype="EFI_SECTION_RAW" /> sectiontype="EFI_SECTION_RAW" />
</sequential> </sequential>
</OnDependency> </OnDependency>
</target> </target>
<target name="output"> <target name="output" depends="sections">
<OnDependency> <OnDependency>
<sourcefiles> <sourcefiles>
<file name="${DEST_DIR_OUTPUT}/Logo.sec"/> <file name="${DEST_DIR_OUTPUT}/Logo.sec"/>