<div dir="ltr">Hi Lijun,<div><br></div><div>Make the prep build first to have .config in BUILD/&lt;kernel&gt;/&lt;linux&gt; (let&#39;s say <a href="http://config.org">config.org</a>)</div><div><br></div><div>Then, add <span style="font-size:12.8px">CONFIG_USB_DWC3=m in config-centos-sig, run rpmbuild again. The error will occur as you said.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Compare error item </span><span style="font-size:12.8px">CONFIG_USB_DWC3_ULPI to</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px"><a href="http://config.org">config.org</a>.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">If </span><span style="font-size:12.8px">CONFIG_USB_DWC3_ULPI</span><span style="font-size:12.8px"> does not exist, add &quot;#</span><span style="font-size:12.8px">CONFIG_USB_DWC3_ULPI is not set&quot; to config-centos-sig</span></div><div><span style="font-size:12.8px">If </span><span style="font-size:12.8px">CONFIG_USB_DWC3_ULPI=m, add &quot;</span><span style="font-size:12.8px">CONFIG_USB_DWC3_ULPI=m&quot; to config-centos-sig</span></div><div><span style="font-size:12.8px">If </span><span style="font-size:12.8px">CONFIG_USB_DWC3_ULPI=y, add &quot;</span><span style="font-size:12.8px">CONFIG_USB_DWC3_ULPI=y&quot; to config-centos-sig</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Do the same to the others.</span></div><br style="font-size:12.8px"><div>Best regards,</div><div><br></div><div>Chuong.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 5, 2016 at 10:51 PM, Lijun Pan <span dir="ltr">&lt;<a href="mailto:lijun.pan@nxp.com" target="_blank">lijun.pan@nxp.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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>
+ &#39;[&#39; -s .newoptions &#39;]&#39;<br>
+ cat .newoptions<br>
CONFIG_USB_DWC3_ULPI<br>
CONFIG_USB_DWC3_PCI<br>
CONFIG_USB_DWC3_DEBUG<br>
+ 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" rel="noreferrer" target="_blank">https://lists.centos.org/mailman/listinfo/arm-dev</a><br>
</blockquote></div><br></div>