<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=utf-8">
<meta name="Generator" content="Microsoft Word 14 (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:SimSun;
        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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 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:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">It seems that my original mail is not arrived.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Please ignore this email if you’ve received my previous one.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Shuang<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Shuang Liu [mailto:shuangistan@gmail.com]
<br>
<b>Sent:</b> Mittwoch, 10. Februar 2016 14:34<br>
<b>To:</b> bitbake-devel@lists.openembedded.org<br>
<b>Cc:</b> Liu, Shuang (ADITG/SW2)<br>
<b>Subject:</b> Bitbake override style removal with variable expansion<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I face a problem that I tried to use the bitbake override style removal with variable expansion.<o:p></o:p></p>
</div>
<p class="MsoNormal">I have a foo.bb and set FOO_PACKAGES = &quot;${PN}_dummy&quot;<o:p></o:p></p>
</div>
<p class="MsoNormal">And I use a foo.bbappend to remove it by FOO_PACKAGES_remove = &quot;${PN}_dummy&quot;<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">This doesn't work.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">However, FOO_PACKAGES_remove = &quot;foo_dummy&quot; works fine.<o:p></o:p></p>
</div>
<p class="MsoNormal">Furthermore I tried other variable names besides PN, e.g.<o:p></o:p></p>
</div>
<p class="MsoNormal">FOO_PACKAGES = &quot;foo_dummy&quot;<o:p></o:p></p>
</div>
<p class="MsoNormal">FOONAME = &quot;foo&quot;<o:p></o:p></p>
</div>
<p class="MsoNormal">FOO_PACKAGES_remove = &quot;${FOONAME}_dummy&quot;<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">This doesn't works either.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">So maybe there is some issue with variable expansion in the override style removal?<o:p></o:p></p>
</div>
<p class="MsoNormal">I use bitbake 1.22 and am sorry I cannot test the master branch on my working environment.<br>
BitBake Build Tool Core version 1.22.0, bitbake version 1.22.0<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Does somebody have some idea about thie behavior?<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I am a bitbake rookie and please forgive me if the question is not reasonable.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Thank you very much<o:p></o:p></p>
</div>
<p class="MsoNormal">Shuang :-<o:p></o:p></p>
</div>
</div>
</body>
</html>