summaryrefslogtreecommitdiff
path: root/BaseTools/Conf/build_rule.template
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-12-22 16:58:04 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-12-22 16:58:04 +0000
commit58ce61eb5dc74449675f6c18926438a867662ed7 (patch)
tree58f6e95b966f3fd7d6310a407b31666c36beeb8b /BaseTools/Conf/build_rule.template
parentca162103dae16dd48474f8dfc7a8951c997c89bc (diff)
downloadedk2-platforms-58ce61eb5dc74449675f6c18926438a867662ed7.tar.xz
a. Enabled building R8 modules
b. Always inherit library's [depex] if there's no dxs file declared in module's inf file git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4419 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'BaseTools/Conf/build_rule.template')
-rw-r--r--BaseTools/Conf/build_rule.template4
1 files changed, 3 insertions, 1 deletions
diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template
index afe453a85b..fc26a42f97 100644
--- a/BaseTools/Conf/build_rule.template
+++ b/BaseTools/Conf/build_rule.template
@@ -237,7 +237,9 @@
$(OUTPUT_DIR)(+)$(MODULE_NAME).depex
<Command>
-# GenDepex -o ${dst} ${src}
+ "$(PP)" $(CC_FLAGS) $(APP_FLAGS) $(INC) ${src} > $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i
+ Trim --source-code -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.i
+ GenDepex -t $(MODULE_TYPE) -o ${dst} $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.iii
[Build.Acpi-Source-Language-File]
<InputFile>