31 okt 2013 kl. 02:51 skrev Grissiom <chaos.pro...@gmail.com>: > On Wed, Oct 30, 2013 at 7:29 PM, Brian Hutchinson <b.hutch...@gmail.com>wrote: > >> >> Instead of meta-toolchain, bitbake your image with -c populate_sdk which >> should put the static stuff in your image and in the sysroot that is >> packaged with the toolchain. Don't know that this will solve your issue >> but it is easy to try. >> >> > Thank you very much, it works like a charm! > > I've also add: > > SDKIMAGE_FEATURES += "staticdev-pkgs" > > in local.conf but it seems that this line does not help. >
I tried out "populate_sdk" yesterday, and i did not work as I would expect. It is a customized version of cloud9-gnome-image adding among other things a library "libxxx". I expected that running populate_sdk on an image would generate an SDK that included *-dev for all packages in that image. That did not work. No headers for libxxx. Then I created an image with require <original-image> IMAGE_FEATURES += "dev-pkgs" which still did not give me the libxxx headers. Finally I added IMAGE_INSTALL += "libxxx libxxx-dev" to my original image and then I got the headers for libxxx inside the SDK. Seems like adding *-pkgs has no effect. Also, A package that gets included in the normal image due to a dependency seems to be left out, when an SDK is generated. Not 100 % sure, since I did not study this in detail. The cloud9-gnome-image seems to add a lot of headers. Have briefly scanned through its building blocks, but did not find what is adding the dev packages. Would appreciate a hint on how to remove. -—-------— BTW: generating and SDK for the beaglebone for that image fails unless I add SDKIMAGE_FEATURES += "asio read-edid" to my local.conf, so there are some problems with those recipes. Best Regards Ulf Samuelsson > -- > Cheers, > Grissiom > _______________________________________________ > Angstrom-distro-devel mailing list > Angstrom-distro-devel@linuxtogo.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel _______________________________________________ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel