[Arm-dev] Fw: rpmbuild report newoptions error

Lijun Pan lijun.pan at nxp.com
Tue Apr 5 20:18:35 UTC 2016


Thanks, Chong.
It works.

Lijun

From: arm-dev-bounces at centos.org [mailto:arm-dev-bounces at centos.org] On Behalf Of Chuong Tran
Sent: Tuesday, April 05, 2016 11:03 AM
To: Conversations around CentOS on ARM hardware <arm-dev at centos.org>
Subject: Re: [Arm-dev] Fw: rpmbuild report newoptions error

Hi Lijun,

Make the prep build first to have .config in BUILD/<kernel>/<linux> (let's say config.org<http://config.org>)

Then, add CONFIG_USB_DWC3=m in config-centos-sig, run rpmbuild again. The error will occur as you said.

Compare error item CONFIG_USB_DWC3_ULPI to config.org<http://config.org>.

If CONFIG_USB_DWC3_ULPI does not exist, add "#CONFIG_USB_DWC3_ULPI is not set" to config-centos-sig
If CONFIG_USB_DWC3_ULPI=m, add "CONFIG_USB_DWC3_ULPI=m" to config-centos-sig
If CONFIG_USB_DWC3_ULPI=y, add "CONFIG_USB_DWC3_ULPI=y" to config-centos-sig

Do the same to the others.

Best regards,

Chuong.


On Tue, Apr 5, 2016 at 10:51 PM, Lijun Pan <lijun.pan at nxp.com<mailto:lijun.pan at nxp.com>> wrote:
Add the mailing list.
Have any of you seen this similar issue before?


Thanks,
Lijun Pan

________________________________________
From: Lijun Pan
Sent: Tuesday, April 5, 2016 10:09:16 AM
To: Jim Perrin
Subject: rpmbuild report newoptions error

Hi Jim,

When I enabled CONFIG_USB_DWC3=m in config-centos-sig

rpmbuild has following errors
======
+ '[' -s .newoptions ']'
+ cat .newoptions
CONFIG_USB_DWC3_ULPI
CONFIG_USB_DWC3_PCI
CONFIG_USB_DWC3_DEBUG
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.7mSfnd (%prep)
=====

While looking at my USB driver code, I did not enable or add those 3 configuration.
Do you think it is a bug in the kernel-aarch64.spec?
Can we fix it somehow?

Thanks,
Lijun
_______________________________________________
Arm-dev mailing list
Arm-dev at centos.org<mailto:Arm-dev at centos.org>
https://lists.centos.org/mailman/listinfo/arm-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20160405/e769dfc4/attachment.html>


More information about the Arm-dev mailing list