summaryrefslogtreecommitdiffstats
path: root/BaseTools/Conf/build_rule.template
diff options
context:
space:
mode:
authorJake Garver via groups.io <jake=nvidia.com@groups.io>2022-04-08 01:04:20 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-04-28 13:42:00 +0000
commitd372ab585a2cdc5348af5f701c56c631235fe698 (patch)
tree4b23c2d5a89d4e55074d993ceeb80cb16a6cd2f4 /BaseTools/Conf/build_rule.template
parent916f90baa547b3ebef8fa87c530e2f0c8e35e1e3 (diff)
downloadedk2-d372ab585a2cdc5348af5f701c56c631235fe698.tar.gz
edk2-d372ab585a2cdc5348af5f701c56c631235fe698.tar.bz2
edk2-d372ab585a2cdc5348af5f701c56c631235fe698.zip
BaseTools/Conf: Fix Dynamic-Library-File template
In the Dynamic-Library-File template, add missing output file declarations. These files are generated by the template and other rules explicitly depend on them. This change resolves missing dependency issues we encountered while running a recursive make with job control. Signed-off-by: Jake Garver <jake@nvidia.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Conf/build_rule.template')
-rwxr-xr-xBaseTools/Conf/build_rule.template2
1 files changed, 2 insertions, 0 deletions
diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule.template
index f401182344..4356623512 100755
--- a/BaseTools/Conf/build_rule.template
+++ b/BaseTools/Conf/build_rule.template
@@ -366,6 +366,8 @@
<OutputFile>
$(OUTPUT_DIR)(+)$(MODULE_NAME).efi
+ $(DEBUG_DIR)(+)$(MODULE_NAME).efi
+ $(OUTPUT_DIR)(+)$(MODULE_NAME).map
<Command.MSFT, Command.INTEL, Command.RVCT, Command.CLANGPDB>
"$(GENFW)" -e $(MODULE_TYPE) -o ${dst} ${src} $(GENFW_FLAGS)