summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-02 02:06:30 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-02 02:06:30 +0000
commit8cc724084d233133a4e79cb908e8d11a4d129df3 (patch)
tree501647eab3f8c4e90b377b0eb157af0cca85f641
parent3c84a282432a95b0787bc8fcd09f46cc2772271f (diff)
downloadedk2-8cc724084d233133a4e79cb908e8d11a4d129df3.tar.gz
edk2-8cc724084d233133a4e79cb908e8d11a4d129df3.tar.bz2
edk2-8cc724084d233133a4e79cb908e8d11a4d129df3.zip
Updated VFR file build command
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2924 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--BaseTools/Conf/build_rule.template15
1 files changed, 9 insertions, 6 deletions
diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template
index 26fb7941d0..44a3196b82 100644
--- a/BaseTools/Conf/build_rule.template
+++ b/BaseTools/Conf/build_rule.template
@@ -60,7 +60,7 @@ ToolCodeMapping = {
"Acpi-Source-Language" : "ASL",
"Object" : "SLINK",
"Static-Library" : "DLINK",
- "Dependency-Expression" : "PP",
+ "Dependency-Expression" : "PP",
}
ToolChainFamilyMapping = {
@@ -113,11 +113,14 @@ ${END} "$(APP)" $(APP_FLAGS) $(INC) $(WORKSPACE)${sep}${fpath} > $(@D)${sep}${fb
"$(ASM)" $(ASM_FLAGS) /Fo$@ $(@D)${sep}${fbase}.i
''',
-"Visual-Form-Representation" :
-'$(OUTPUT_DIR)\\%(fdir)s\\%(fbase)s.obj : $(MODULE_DIR)\\%(fdir)s\\%(fname)s $(DEP_FILES)\n'\
- '\t"$(PP)" $(PP_FLAGS) $(INC) $< $(PP_OUTPUT)$(@D)\\%(fbase)s.i\n'\
- '\t"$(VFRC)" $(VFRC_FLAGS) $(INC) $(VFRC_OUTPUT)$(DEBUG_DIR)\\%(fdir)s\\%(fbase)s.c $(@D)\\%(fbase)s.i\n'\
- '\t"$(CC)" $(CC_FLAGS) $(INC) $(CC_OUTPUT)$@ $(DEBUG_DIR)\\%(fdir)s\\%(fbase)s.c\n',
+"Visual-Form-Representation" : '''\
+$(OUTPUT_DIR)${sep}${fdir}${sep}${fbase}.obj : $(COMMON_DEPS)
+${BEGIN}$(OUTPUT_DIR)${sep}${fdir}${sep}${fbase}.obj : $(WORKSPACE)${sep}${fdep}
+${END}\t"$(VFRPP)" $(VFRPP_FLAGS) $(INC) $(WORKSPACE)${sep}${fpath} > $(@D)${sep}${fbase}.i
+\tTrim -VFR $(@D)${sep}${fbase}.i
+\t"$(VFRC)" $(VFRC_FLAGS) -od $(DEBUG_DIR)${sep}${fdir} $(@D)${sep}${fbase}.iii
+\t"$(CC)" $(CC_FLAGS) $(INC) /Fo$@ $(DEBUG_DIR)${sep}${fdir}${sep}${fbase}.c
+''',
},
"gmake" : {