SPARC BSPs Fail to Build rtems-libbsd

Joel Sherrill joel.sherrill at oarcorp.com
Wed May 27 01:00:13 UTC 2015



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 I get no comments on the patch I will push it in a day for so.
>
>Testing with:
>
> waf configure --rtems-tools=/opt/work/rtems/4.11 \
>               --rtems=/opt/work/chris/rtems/kernel/4.11 \
>        --rtems-bsps=arm/realview_pbx_a9_qemu,sparc/erc32,sparc/leon3 \
>               --prefix=/opt/work/chris/rtems/libbsd/install-test
>
>Note, the makefile build will fail because I have not added conditional
>support.
>
>Chris
>_______________________________________________
>devel mailing list
>devel at rtems.org
>http://lists.rtems.org/mailman/listinfo/devel

--joel


More information about the devel mailing list