summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-29 16:16:19 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-29 16:16:19 +0000
commit77696b61eb32bab7e38fccaf59be4ab68efdd4bd (patch)
tree621d70db1420a1d9da1d1a311206471e3781951d
parent9e40e4bd0a62694748543cd813e663e02ecf9d96 (diff)
downloadedk2-platforms-77696b61eb32bab7e38fccaf59be4ab68efdd4bd.tar.xz
Add $(MD) command for vfr build rule to avoid build failure for some R8 modules
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7976 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--BaseTools/Conf/build_rule.template3
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template
index a5d0f1f5fb..4044164244 100644
--- a/BaseTools/Conf/build_rule.template
+++ b/BaseTools/Conf/build_rule.template
@@ -188,9 +188,10 @@
$(DEBUG_DIR)(+)${s_dir}(+)${s_base}.c
<Command>
+ -$(MD) $(OUTPUT_DIR)(+)${s_dir} > NUL 2>&1
"$(VFRPP)" $(VFRPP_FLAGS) $(INC) ${src} > $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i
Trim --vfr-file -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i
- -mkdir ${d_path} > NUL 2>&1
+ -$(MD) ${d_path} > NUL 2>&1
"$(VFR)" $(VFR_FLAGS) --output-directory ${d_path} $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii
[Object-File]