1. Removed the unnecessary #include statements and include files
2. Removed the unnecessary library and include path from MSA files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@541 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -22,19 +22,18 @@ Abstract:
|
||||
|
||||
--*/
|
||||
|
||||
#include <UefiBaseTypes.h>
|
||||
#include <Base.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "CommonLib.h"
|
||||
|
||||
#include <Common/UefiBaseTypes.h>
|
||||
#include <Common/FirmwareVolumeImageFormat.h>
|
||||
#include <Common/FirmwareFileSystem.h>
|
||||
#include <Library/PeCoffLib.h>
|
||||
|
||||
#include "ParseInf.h"
|
||||
#include "FvLib.h"
|
||||
|
||||
#include "EfiUtilityMsgs.h"
|
||||
#include "FirmwareFileSystem.h"
|
||||
#include "PeCoffLib.h"
|
||||
|
||||
#include "PeiRebaseExe.h"
|
||||
|
||||
EFI_STATUS
|
||||
|
@@ -23,10 +23,10 @@ Abstract:
|
||||
#ifndef _EFI_PEIM_FIXUP_EXE_H
|
||||
#define _EFI_PEIM_FIXUP_EXE_H
|
||||
|
||||
// #include "Efi2WinNt.h"
|
||||
#include "FirmwareFileSystem.h"
|
||||
#include "FirmwareVolumeHeader.h"
|
||||
#include "MultiPhase.h"
|
||||
#include <Common/FirmwareVolumeImageFormat.h>
|
||||
#include <Common/FirmwareFileSystem.h>
|
||||
#include <Common/FirmwareVolumeHeader.h>
|
||||
#include <Common/MultiPhase.h>
|
||||
|
||||
//
|
||||
// Utility Name
|
||||
|
@@ -63,22 +63,22 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
</echo>
|
||||
</else>
|
||||
</if>
|
||||
<if>
|
||||
<equals arg1="${ToolChain}" arg2="msvc"/>
|
||||
<then>
|
||||
<if>
|
||||
<equals arg1="${ToolChain}" arg2="msvc"/>
|
||||
<then>
|
||||
<property name="ext_static" value=".lib"/>
|
||||
<property name="ext_dynamic" value=".dll"/>
|
||||
<property name="ext_exe" value=".exe"/>
|
||||
</then>
|
||||
<elseif>
|
||||
<equals arg1="${ToolChain}" arg2="gcc"/>
|
||||
<then>
|
||||
</then>
|
||||
<elseif>
|
||||
<equals arg1="${ToolChain}" arg2="gcc"/>
|
||||
<then>
|
||||
<property name="ext_static" value=".a"/>
|
||||
<property name="ext_dynamic" value=".so"/>
|
||||
<property name="ext_exe" value=""/>
|
||||
</then>
|
||||
</elseif>
|
||||
</if>
|
||||
</then>
|
||||
</elseif>
|
||||
</if>
|
||||
</target>
|
||||
|
||||
<target name="PeiRebase_Ia32" depends="init">
|
||||
@@ -92,11 +92,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
<includepath path="${PACKAGE_DIR}/Include"/>
|
||||
<includepath path="${PACKAGE_DIR}/Include/Ia32"/>
|
||||
<includepath path="${PACKAGE_DIR}/Include/Common"/>
|
||||
<includepath path="${PACKAGE_DIR}/Include/Protocol"/>
|
||||
<includepath path="${PACKAGE_DIR}/Include/Library"/>
|
||||
<includepath path="${PACKAGE_DIR}/Common"/>
|
||||
<libset dir="${LIB_DIR}" libs="CommonTools CustomizedCompress PeCoffLoader_Ia32"/>
|
||||
<libset dir="${LIB_DIR}" libs="CommonTools PeCoffLoader_Ia32"/>
|
||||
</cc>
|
||||
</target>
|
||||
|
||||
@@ -111,11 +108,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
<includepath path="${PACKAGE_DIR}/Include"/>
|
||||
<includepath path="${PACKAGE_DIR}/Include/Ia32"/>
|
||||
<includepath path="${PACKAGE_DIR}/Include/Common"/>
|
||||
<includepath path="${PACKAGE_DIR}/Include/Protocol"/>
|
||||
<includepath path="${PACKAGE_DIR}/Include/Library"/>
|
||||
<includepath path="${PACKAGE_DIR}/Common"/>
|
||||
<libset dir="${LIB_DIR}" libs="CommonTools CustomizedCompress PeCoffLoader_Ipf"/>
|
||||
<libset dir="${LIB_DIR}" libs="CommonTools PeCoffLoader_Ipf"/>
|
||||
</cc>
|
||||
</target>
|
||||
|
||||
@@ -130,11 +124,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
<includepath path="${PACKAGE_DIR}/Include"/>
|
||||
<includepath path="${PACKAGE_DIR}/Include/Ia32"/>
|
||||
<includepath path="${PACKAGE_DIR}/Include/Common"/>
|
||||
<includepath path="${PACKAGE_DIR}/Include/Protocol"/>
|
||||
<includepath path="${PACKAGE_DIR}/Include/Library"/>
|
||||
<includepath path="${PACKAGE_DIR}/Common"/>
|
||||
<libset dir="${LIB_DIR}" libs="CommonTools CustomizedCompress PeCoffLoader_X64"/>
|
||||
<libset dir="${LIB_DIR}" libs="CommonTools PeCoffLoader_X64"/>
|
||||
</cc>
|
||||
</target>
|
||||
|
||||
|
Reference in New Issue
Block a user