diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-04-11 03:08:47 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-04-11 03:08:47 +0000 |
commit | 7e9f4e1d8e0b0d145c3a91fdbfb349adb5f084e0 (patch) | |
tree | 86bfb92dc8def5849a9b6ce97cf410ac55ca864d /Tools/CCode/Source/FwImage | |
parent | 2074c9cfbdeb8157d59253dce943f15ddf7d640a (diff) | |
download | edk2-platforms-7e9f4e1d8e0b0d145c3a91fdbfb349adb5f084e0.tar.xz |
Merge the patch provided by Johnson
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2555 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/CCode/Source/FwImage')
-rw-r--r-- | Tools/CCode/Source/FwImage/build.xml | 4 | ||||
-rw-r--r-- | Tools/CCode/Source/FwImage/fwimage.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Tools/CCode/Source/FwImage/build.xml b/Tools/CCode/Source/FwImage/build.xml index d992db2a0f..1d261928fb 100644 --- a/Tools/CCode/Source/FwImage/build.xml +++ b/Tools/CCode/Source/FwImage/build.xml @@ -45,7 +45,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. excludes="*.xml *.inf"/>
<includepath path="${PACKAGE_DIR}/Include"/>
- <includepath path="${PACKAGE_DIR}/Include/${HostArch}"/>
+ <!-- <includepath path="${PACKAGE_DIR}/Include/${HostArch}"/> -->
+ <!-- We can only convert IA32, not X64, ELF objects -->
+ <includepath path="${PACKAGE_DIR}/Include/Ia32"/>
<includepath path="${PACKAGE_DIR}/Common"/>
<libset dir="${LIB_DIR}" libs="CommonTools"/>
</cc>
diff --git a/Tools/CCode/Source/FwImage/fwimage.c b/Tools/CCode/Source/FwImage/fwimage.c index 97229ce09e..f51f824e22 100644 --- a/Tools/CCode/Source/FwImage/fwimage.c +++ b/Tools/CCode/Source/FwImage/fwimage.c @@ -25,7 +25,7 @@ Abstract: // List of OS and CPU which support ELF to PE conversion
//
#if defined(linux) -#if defined(i386) +#if defined (__i386__) || defined(__x86_64__) #define HAVE_ELF #endif #endif |