|
From: <and...@us...> - 2010-09-28 22:33:13
|
Revision: 2060
http://edk2-buildtools.svn.sourceforge.net/edk2-buildtools/?rev=2060&view=rev
Author: andrewfish
Date: 2010-09-28 22:33:07 +0000 (Tue, 28 Sep 2010)
Log Message:
-----------
Update template to fix build breaks for ELF->PE/COFF and Mach-O->PE/COFF platforms. This fixes build issues, but work is still needed to add resource section. GenFw (for ELF input image) and mtoc will need to updated to have a .rc section passed in and added to the PE/COFF file.
Modified Paths:
--------------
trunk/BaseTools/Conf/build_rule.template
Modified: trunk/BaseTools/Conf/build_rule.template
===================================================================
--- trunk/BaseTools/Conf/build_rule.template 2010-09-27 07:48:39 UTC (rev 2059)
+++ trunk/BaseTools/Conf/build_rule.template 2010-09-28 22:33:07 UTC (rev 2060)
@@ -1,6 +1,6 @@
#
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
-# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
+# Portions copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
# 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
@@ -513,9 +513,12 @@
<InputFile>
*.hpk
- <OutputFile>
+ <OutputFile.MSFT, OutputFile.INTEL, OutputFile.GCC>
$(OUTPUT_DIR)(+)$(MODULE_NAME)hii.lib
+ <OutputFile.XCODE, OutputFile.RVCT, OutputFile.ARMGCC>
+ $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc
+
<Command.MSFT, Command.INTEL>
"$(GENFW)" -o $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc -g $(MODULE_GUID) --hiipackage $(HII_BINARY_PACKAGES) $(GENFW_FLAGS)
"$(RC)" /Fo${dst} $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc
@@ -523,3 +526,8 @@
<Command.GCC>
"$(GENFW)" -o $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc -g $(MODULE_GUID) --hiibinpackage $(HII_BINARY_PACKAGES) $(GENFW_FLAGS)
"$(RC)" $(RC_FLAGS) $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc ${dst}
+
+ <Command.XCODE, Command.RVCT, Command.ARMGCC>
+ GenFw -o $(OUTPUT_DIR)(+)$(MODULE_NAME)hii.rc -g $(MODULE_GUID) --hiibinpackage $(HII_BINARY_PACKAGES)
+
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|