Get header files into sysroot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get header files into sysroot

919 Views
kevindankwardt
Contributor I

I need xmlreader.h from libxml2.

I can build it and I get an xmlreader.h but it does not appear in the installed sysroot.

I do:

bitbake libxml2

bitbake fsl-toolchain

bitbake fsl-image-core  # it says nothing needed to be done

cd tmp/deploy/sdk ; ./fsl-networking-eglibc-x86_64-ppce500v2-toolchain-QorIQ-SDK-V1.7.sh

After doing that the file xmlreader.h is no where to be found in the installed directories, it is however, under ./work in a number of places and at

./sysroots/x86_64-linux/usr/include/libxml2/libxml/xmlreader.h

./sysroots/p2020rdb/usr/include/libxml2/libxml/xmlreader.h

How can I get it installed into my sysroot when I run ./fsl-networking-eglibc-x86_64-ppce500v2-toolchain-QorIQ-SDK-V1.7.sh  ?

Also, while I am at it, I haven't found anywhere in the Freescale documentation where it explains these kinds of sequences of steps to add new libraries, header files, etc. Any pointers to the place in the documentation should prevent some future questions.

Thanks a lot,

Kevin

Labels (1)
0 Kudos
0 Replies