<html xmlns:v="urn:schemas-microsoft-com:vml" 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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        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:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Liming,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Please help to provide comments for this mail. It break the open board now<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Eric<o:p></o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Luo, Heng
<br>
<b>Sent:</b> Tuesday, March 31, 2020 9:25 AM<br>
<b>To:</b> Ni, Ray <ray.ni@intel.com>; devel@edk2.groups.io<br>
<b>Cc:</b> Bi, Dandan <dandan.bi@intel.com>; Gao, Liming <liming.gao@intel.com>; Dong, Eric <eric.dong@intel.com><br>
<b>Subject:</b> RE: [PATCH 1/3] Platform/Intel: Add all pathes of feature domains to package path<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:black">Hi Liming,</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><br>
<span style="color:black">I will apply the change below if you agree to  we treat a folder that contains ".dec" and "dsc" files as a package directory:</span><br>
<br>
<span style="color:black">diff --git a/Platform/Intel/build_bios.py b/Platform/Intel/build_bios.py</span><br>
<span style="color:black">index b9ad980510..bb25699ed8 100644</span><br>
<span style="color:black">--- a/Platform/Intel/build_bios.py</span><br>
<span style="color:black">+++ b/Platform/Intel/build_bios.py</span><br>
<span style="color:black">@@ -16,6 +16,7 @@ imported functions from board directory</span><br>
<span style="color:black"> import os</span><br>
<span style="color:black"> import re</span><br>
<span style="color:black"> import sys</span><br>
<span style="color:black">+import glob</span><br>
<span style="color:black"> import signal</span><br>
<span style="color:black"> import shutil</span><br>
<span style="color:black"> import argparse</span><br>
<span style="color:black">@@ -123,7 +124,10 @@ def pre_build(build_config, build_type="DEBUG", silent=False, toolchain=None):</span><br>
<span style="color:black">     # add all feature domains in WORKSPACE_FEATURES to package path</span><br>
<span style="color:black">     for filename in os.listdir(config["WORKSPACE_FEATURES"]):</span><br>
<span style="color:black">         filepath = os.path.join(config["WORKSPACE_FEATURES"], filename)</span><br>
<span style="color:black">-        if os.path.isdir(filepath):</span><br>
<span style="color:black">+        # feature domains folder does not contain dec or dsc file</span><br>
<span style="color:black">+        if os.path.isdir(filepath) and \</span><br>
<span style="color:black">+          not glob.glob(os.path.join(filepath, "*.dec")) and \</span><br>
<span style="color:black">+          not glob.glob(os.path.join(filepath, "*.dsc")):</span><br>
<span style="color:black">             config["PACKAGES_PATH"] += os.pathsep + filepath</span><br>
<span style="color:black">     config["PACKAGES_PATH"] += os.pathsep + config["WORKSPACE_DRIVERS"]</span><br>
<span style="color:black">     config["PACKAGES_PATH"] += os.pathsep + \</span><br>
<br>
<span style="color:black">Best Regards</span><br>
<span style="color:black">Heng</span><br>
<br>
<span style="color:purple">> -----Original Message-----</span><br>
<span style="color:purple">> From: Ni, Ray <<a href="mailto:ray.ni@intel.com">ray.ni@intel.com</a>></span><br>
<span style="color:purple">> Sent: Monday, March 30, 2020 5:01 PM</span><br>
<span style="color:purple">> To: Luo, Heng <<a href="mailto:heng.luo@intel.com">heng.luo@intel.com</a>>; <a href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a></span><br>
<span style="color:purple">> Cc: Bi, Dandan <<a href="mailto:dandan.bi@intel.com">dandan.bi@intel.com</a>>; Gao, Liming <<a href="mailto:liming.gao@intel.com">liming.gao@intel.com</a>>;</span><br>
<span style="color:purple">> Dong, Eric <<a href="mailto:eric.dong@intel.com">eric.dong@intel.com</a>></span><br>
<span style="color:purple">> Subject: RE: [PATCH 1/3] Platform/Intel: Add all pathes of feature domains to</span><br>
<span style="color:purple">> package path</span><br>
<span style="color:purple">> </span><br>
<span style="color:blue">> > +    # add all feature domains in WORKSPACE_FEATURES to package path</span><br>
<span style="color:blue">> > +    for filename in os.listdir(config["WORKSPACE_FEATURES"]):</span><br>
<span style="color:blue">> > +        filepath = os.path.join(config["WORKSPACE_FEATURES"], filename)</span><br>
<span style="color:blue">> > +        if os.path.isdir(filepath):</span><br>
<span style="color:blue">> > +            config["PACKAGES_PATH"] += os.pathsep + filepath</span><br>
<span style="color:purple">> </span><br>
<span style="color:purple">> Will this change include "AdvancedFeaturePkg" and "TemplateFeaturePkg"</span><br>
<span style="color:purple">> folder as well?</span><br>
<span style="color:purple">> </span><br>
<span style="color:purple">> Can you please revise the patch to skip adding folders that contains package</span><br>
<span style="color:purple">> contents to the PACKAGES_PATH?</span><br>
<span style="color:purple">> </span><br>
<span style="color:purple">> Liming,</span><br>
<span style="color:purple">> What's the criteria of a package? Can we treat a folder that contains ".dec"</span><br>
<span style="color:purple">> and "dsc" files as a package directory?</span><br>
<span style="color:purple">> </span><br>
<span style="color:purple">> Thanks,</span><br>
<span style="color:purple">> Ray</span><o:p></o:p></span></p>
</div>
</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/56711">View/Reply Online (#56711)</a> |


  


|


  
    <a target="_blank" href="https://groups.io/mt/72646657/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>