<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Updated the Bugzilla with feedback on this. I don’t think this is a good final solution.</p>
<p class="MsoNormal">It creates two new empty dependencies: one for the binary blob, but one for the parent driver. The parent driver dependency causes a warning in compiling.
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">- Bret</p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:bob.c.feng@intel.com">Bob Feng</a><br>
<b>Sent: </b>Monday, March 23, 2020 8:12 PM<br>
<b>To: </b><a href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a><br>
<b>Cc: </b><a href="mailto:liming.gao@intel.com">Liming Gao</a>; <a href="mailto:Bret.Barkelew@microsoft.com">
Bret Barkelew</a><br>
<b>Subject: </b>[EXTERNAL] [Patch 1/1] BaseTools: Add .map file as a target in makefile</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Ref: <a href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.tianocore.org%2Fshow_bug.cgi%3Fid%3D2624&amp;data=02%7C01%7CBret.Barkelew%40microsoft.com%7C9c94983c098f4f1d604708d7cfa13bb2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637206163707852733&amp;sdata=wqLUJ4Chlj%2FPHGbKr8Kfpscf6ZBFn26GGCewpz0RbYo%3D&amp;reserved=0">
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.tianocore.org%2Fshow_bug.cgi%3Fid%3D2624&amp;data=02%7C01%7CBret.Barkelew%40microsoft.com%7C9c94983c098f4f1d604708d7cfa13bb2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637206163707852733&amp;sdata=wqLUJ4Chlj%2FPHGbKr8Kfpscf6ZBFn26GGCewpz0RbYo%3D&amp;reserved=0</a><br>
<br>
The .map file may not exist, adding .map as a target<br>
with empty dependency and command will avoid build failure.<br>
<br>
Signed-off-by: Bob Feng <bob.c.feng@intel.com><br>
Cc: Liming Gao <liming.gao@intel.com><br>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com><br>
---<br>
 BaseTools/Source/Python/AutoGen/GenMake.py | 1 +<br>
 1 file changed, 1 insertion(+)<br>
<br>
diff --git a/BaseTools/Source/Python/AutoGen/GenMake.py b/BaseTools/Source/Python/AutoGen/GenMake.py<br>
index bbb3c29446f5..f09a0b88297e 100755<br>
--- a/BaseTools/Source/Python/AutoGen/GenMake.py<br>
+++ b/BaseTools/Source/Python/AutoGen/GenMake.py<br>
@@ -731,10 +731,11 @@ cleanlib:<br>
                     if Dst not in self.ResultFileList:<br>
                         self.ResultFileList.append(Dst)<br>
                     if '%s :' %(Dst) not in self.BuildTargetList:<br>
                         self.BuildTargetList.append("%s : %s" %(Dst,Src))<br>
                         self.BuildTargetList.append('\t' + self._CP_TEMPLATE_[self._Platform] %{'Src': Src, 'Dst': Dst})<br>
+                        self.BuildTargetList.append("%s :" %(Src,))<br>
 <br>
             FfsCmdList = Cmd[0]<br>
             for index, Str in enumerate(FfsCmdList):<br>
                 if '-o' == Str:<br>
                     OutputFile = FfsCmdList[index + 1]<br>
-- <br>
2.20.1.windows.1<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>

<div width="1" style="color:white;clear:both">_._,_._,_</div>
<hr>
Groups.io Links:<p>


You receive all messages sent to this group.



<p>

<a target="_blank" href="https://edk2.groups.io/g/devel/message/56171">View/Reply Online (#56171)</a> |


  


|


  
    <a target="_blank" href="https://groups.io/mt/72522807/1813853">Mute This Topic</a>
  

| <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>



<br>

<a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> |
<a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |

<a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>

 [edk2-devel-archive@redhat.com]<br>
<div width="1" style="color:white;clear:both">_._,_._,_</div>