<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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        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:"\@宋体";
        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: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:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
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;,sans-serif;color:#1F497D">Thanks, Chong.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">It works.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D">Lijun<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1F497D"><o:p>&nbsp;</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:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> arm-dev-bounces@centos.org [mailto:arm-dev-bounces@centos.org]
<b>On Behalf Of </b>Chuong Tran<br>
<b>Sent:</b> Tuesday, April 05, 2016 11:03 AM<br>
<b>To:</b> Conversations around CentOS on ARM hardware &lt;arm-dev@centos.org&gt;<br>
<b>Subject:</b> Re: [Arm-dev] Fw: rpmbuild report newoptions error<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Hi Lijun,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Make the prep build first to have .config in BUILD/&lt;kernel&gt;/&lt;linux&gt; (let's say
<a href="http://config.org">config.org</a>)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Then, add&nbsp;<span style="font-size:9.5pt">CONFIG_USB_DWC3=m in config-centos-sig, run rpmbuild again. The error will occur as you said.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">Compare error item&nbsp;CONFIG_USB_DWC3_ULPI to&nbsp;<a href="http://config.org">config.org</a>.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">If&nbsp;CONFIG_USB_DWC3_ULPI&nbsp;does not exist, add &quot;#CONFIG_USB_DWC3_ULPI is not set&quot; to config-centos-sig</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">If&nbsp;CONFIG_USB_DWC3_ULPI=m, add &quot;CONFIG_USB_DWC3_ULPI=m&quot; to config-centos-sig</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">If&nbsp;CONFIG_USB_DWC3_ULPI=y, add &quot;CONFIG_USB_DWC3_ULPI=y&quot; to config-centos-sig</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">Do the same to the others.</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Chuong.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">On Tue, Apr 5, 2016 at 10:51 PM, Lijun Pan &lt;<a href="mailto:lijun.pan@nxp.com" target="_blank">lijun.pan@nxp.com</a>&gt; wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">Add the mailing list.<br>
Have any of you seen this similar issue before?<br>
<br>
<br>
Thanks,<br>
Lijun Pan<br>
<br>
________________________________________<br>
From: Lijun Pan<br>
Sent: Tuesday, April 5, 2016 10:09:16 AM<br>
To: Jim Perrin<br>
Subject: rpmbuild report newoptions error<br>
<br>
Hi Jim,<br>
<br>
When I enabled CONFIG_USB_DWC3=m in config-centos-sig<br>
<br>
rpmbuild has following errors<br>
======<br>
&#43; '[' -s .newoptions ']'<br>
&#43; cat .newoptions<br>
CONFIG_USB_DWC3_ULPI<br>
CONFIG_USB_DWC3_PCI<br>
CONFIG_USB_DWC3_DEBUG<br>
&#43; exit 1<br>
error: Bad exit status from /var/tmp/rpm-tmp.7mSfnd (%prep)<br>
=====<br>
<br>
While looking at my USB driver code, I did not enable or add those 3 configuration.<br>
Do you think it is a bug in the kernel-aarch64.spec?<br>
Can we fix it somehow?<br>
<br>
Thanks,<br>
Lijun<br>
_______________________________________________<br>
Arm-dev mailing list<br>
<a href="mailto:Arm-dev@centos.org">Arm-dev@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/arm-dev" target="_blank">https://lists.centos.org/mailman/listinfo/arm-dev</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</div>
</body>
</html>