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:
@@ -20,17 +20,6 @@ Abstract:
|
||||
|
||||
--*/
|
||||
|
||||
#include "Base.h"
|
||||
#include "UefiBaseTypes.h"
|
||||
#include "FirmwareVolumeImageFormat.h"
|
||||
#include "FirmwareFileSystem.h"
|
||||
#include "FirmwareVolumeHeader.h"
|
||||
#include "FirmwareVolumeImageFormat.h"
|
||||
#include "ParseInf.h"
|
||||
#include "EfiCompress.h"
|
||||
#include "EfiCustomizedCompress.h"
|
||||
#include "Crc32.h"
|
||||
#include "GenFfsFile.h"
|
||||
#include <stdio.h>
|
||||
#include <ctype.h> // for isalpha()
|
||||
//
|
||||
@@ -41,6 +30,18 @@ Abstract:
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <Common/UefiBaseTypes.h>
|
||||
#include <Common/FirmwareVolumeImageFormat.h>
|
||||
#include <Common/FirmwareFileSystem.h>
|
||||
#include <Common/FirmwareVolumeHeader.h>
|
||||
#include <Common/FirmwareVolumeImageFormat.h>
|
||||
|
||||
#include "ParseInf.h"
|
||||
#include "EfiCompress.h"
|
||||
#include "EfiCustomizedCompress.h"
|
||||
#include "Crc32.h"
|
||||
#include "GenFfsFile.h"
|
||||
#include "CommonLib.h"
|
||||
#include "EfiUtilityMsgs.h"
|
||||
#include "SimpleFileParsing.h"
|
||||
|
@@ -28,9 +28,9 @@ Abstract:
|
||||
//
|
||||
// External Files Referenced
|
||||
//
|
||||
#include "Base.h"
|
||||
#include "UefiBaseTypes.h"
|
||||
#include "FirmwareVolumeImageFormat.h"
|
||||
#include <Common/UefiBaseTypes.h>
|
||||
#include <Common/FirmwareVolumeImageFormat.h>
|
||||
|
||||
#include "MyAlloc.h"
|
||||
|
||||
#endif
|
||||
|
@@ -24,8 +24,8 @@ Abstract:
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "Base.h"
|
||||
#include "UefiBaseTypes.h"
|
||||
#include <Common/UefiBaseTypes.h>
|
||||
|
||||
#include "EfiUtilityMsgs.h"
|
||||
#include "SimpleFileParsing.h"
|
||||
|
||||
|
@@ -61,22 +61,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="Tool" depends="init">
|
||||
@@ -93,10 +93,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}/Common"/>
|
||||
<libset dir="${LIB_DIR}" libs="CommonTools CustomizedCompress"/>
|
||||
<libset dir="${LIB_DIR}" libs="CommonTools CustomizedCompress"/>
|
||||
</cc>
|
||||
</target>
|
||||
|
||||
|
Reference in New Issue
Block a user