SPARC BSPs Fail to Build rtems-libbsd

Chris Johns chrisj at rtems.org
Wed May 27 01:21:10 UTC 2015


On 27/05/2015 11:00 am, Joel Sherrill wrote:
> 
> 
> On May 26, 2015 7:51:18 PM CDT, Chris Johns <chrisj at rtems.org> wrote:
>> On 27/05/2015 8:14 am, Joel Sherrill wrote:
>>>
>>> It looks the PCI API change has resulted in rtems-libbsd not
>>> building for SPARC. Any ideas?
>>
>> The code unconditionally assumed all BSPs provided PCI support and
>> installed "rtems/pci.h" header. I have just posted a patch that adds
>> conditional support the waf build of rtems-libbsd so the LEON3 BSP now
>> builds.
> 
> Is this really a mistake on the libpci side? Shouldn't it install the header as rtems/pci.h?
> 

If there is no PCI bus why should the header be installed ? It is a
simple why for users and external packages to know if PCI is supported.
If you add the header do you need to add the calls as well ?

Chris



More information about the devel mailing list