summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-19 07:41:47 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-19 07:41:47 +0000
commite1b95c15abf6bb9da44d835a5ab435ee317e547c (patch)
tree5082a1916e2395f15da1fe14a5ef7db3b12ee25b /Tools
parentf9081b646d7748e4a035ef736c13a92bc8d9681b (diff)
downloadedk2-platforms-e1b95c15abf6bb9da44d835a5ab435ee317e547c.tar.xz
Fixed an issue which the .dep file for the AutoGen.h won't be generated if PCH is not defined.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2272 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools')
-rw-r--r--Tools/Conf/BuildMacro.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/Conf/BuildMacro.xml b/Tools/Conf/BuildMacro.xml
index 3855d09da1..2fcf9b22bc 100644
--- a/Tools/Conf/BuildMacro.xml
+++ b/Tools/Conf/BuildMacro.xml
@@ -74,6 +74,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
</then>
</if>
</then>
+ <else>
+ <makedeps DepsFile="${DEST_DIR_OUTPUT}/AutoGen.h.dep">
+ <input file="${DEST_DIR_DEBUG}/AutoGen.h"/>
+ <EXTRA.INC/>
+ </makedeps>
+ </else>
</if>
</sequential>
</macrodef>