summaryrefslogtreecommitdiffstats
path: root/BaseTools/Conf
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-24 13:08:39 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-24 13:08:39 +0000
commit941199475dff164bdb8b2b1fa516dcfbec8ef60f (patch)
treed02b2c477f0a87ac1ac6f2cad812cbdedac9c693 /BaseTools/Conf
parent536c563dd902c17bd5ae98083687d4196ae28317 (diff)
downloadedk2-941199475dff164bdb8b2b1fa516dcfbec8ef60f.tar.gz
edk2-941199475dff164bdb8b2b1fa516dcfbec8ef60f.tar.bz2
edk2-941199475dff164bdb8b2b1fa516dcfbec8ef60f.zip
add map generation for GCC tool chain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7934 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Conf')
-rw-r--r--BaseTools/Conf/build_rule.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template
index 83dd6a8fd0..a5d0f1f5fb 100644
--- a/BaseTools/Conf/build_rule.template
+++ b/BaseTools/Conf/build_rule.template
@@ -221,7 +221,7 @@
"$(DLINK)" /OUT:${dst} $(DLINK_FLAGS) $(DLINK_SPATH) $(STATIC_LIBRARY_FILES)
<Command.GCC>
- "$(DLINK)" -o ${dst} $(DLINK_FLAGS) -\( $(DLINK_SPATH) $(STATIC_LIBRARY_FILES) -\) $(DLINK2_FLAGS)
+ "$(DLINK)" -o ${dst} -Map $(DEBUG_DIR)(+)$(MODULE_NAME).map $(DLINK_FLAGS) -\( $(DLINK_SPATH) $(STATIC_LIBRARY_FILES) -\) $(DLINK2_FLAGS)
[Static-Library-File.USER_DEFINED]
<InputFile>