Hi Andrea, I added the dbg-pkgs to the IMAGE_FEATURES but it didn't seem to make a difference in what was included, still no .a file in the SYSROOT. Regards, Greg
> -----Original Message----- > From: Andrea Adami [mailto:andrea.ad...@gmail.com] > Sent: Sunday, October 22, 2017 4:12 PM > To: Greg Wilson-Lindberg <gwil...@sakuraus.com> > Cc: yocto@yoctoproject.org > Subject: Re: [yocto] Problem with populate_sdk > > On Thu, Oct 19, 2017 at 8:26 PM, Greg Wilson-Lindberg > <gwil...@sakuraus.com> wrote: > > I'm trying to build an SDK for a Raspberry Pi3, and I got a problem > > with the files from one of my custom recipes. > > > > > > In my recipe I have: > > > > FILES_${PN}-dev = "lib/lib${PN}.a lib/lib${PN}_unix.a lib/pkgconfig > > include/canfestival/*.h" > > > > > > The *.a files get put into staticdev not dev in the package split. > > > > > > In my image recipe I've added: > > > > IMAGE_FEATURES += "dev-pkgs staticdev-pkgs" > > > > I get all of the libraries in my image. In the SDK I don't get the *.a > > libraries from the staticdev, I do get the header files which were put > > into dev. > > > > > > So, at this point I'm a bit confused, even though I include both the > > dev & staticdev I am only getting the dev files in the SDK. And, also, > > why are the *.a libs being put into staticdev in the first place? > > > > > > Hi, > these defaults are defined in meta/conf/bitbake.conf: > > PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale > ${PACKAGE_BEFORE_PN} ${PN}" > > This means that staticdev package is created before dev package, just after > dbg. > > and > > FILES_${PN}-staticdev = "${libdir}/*.a ${base_libdir}/*.a > ${libdir}/${BPN}/*.a" > > indicates that the .a files in these dirs belongs to the staticdev package. > > Now, I guess you should try: > > SDKIMAGE_FEATURES = "dev-pkgs dbg-pkgs staticdev-pkgs" > > Se https://lists.yoctoproject.org/pipermail/yocto/2014- > September/021645.html > > Cheers > Andrea > > > > Regards, Greg > > > > > > -- > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto