On Tuesday, August 05, 2014 at 11:13:48 AM, Sergei Poselenov wrote: > Hello Marek, > > On Mon, 4 Aug 2014 18:38:37 +0200 > > Marek Vasut <[email protected]> wrote: > > On Monday, August 04, 2014 at 06:00:43 PM, Sergei Poselenov wrote: > > > Hello, > > > > > > On Sun, 20 Jul 2014 17:34:13 +0200 > > > > > > Marek Vasut <[email protected]> wrote: > > > > On Thursday, July 17, 2014 at 07:10:34 PM, Sergei Poselenov wrote: > > > > > Hello, > > > > > > > > > > I added a package (log4cxx) to meta/recipes-devtools to ELDK-5.3 > > > > > tree. Everything is fine, the package built and populated to the > > > > > target image using "IMAGE_INSTALL +=". > > > > > > > > > > However, I've run into a problem of adding the main and "-dev" > > > > > package to the SDK image. I need "liblog4cxx10" and > > > > > "liblog4cxx-dev" (the names of .ipk's) to be added to sysroot of > > > > > meta-toolchain-qte, so I could link a sample program with a > > > > > header in include/log4cxx/ and respective library. > > > > > > > > Are you possibly looking for SDKIMAGE_FEATURES variable ? > > > > > > Probably, however I see that in the ELDK-5.x build framework it is > > > not used. Setting SDKIMAGE_FEATURES += " log4cxx-dev" doesn't work, > > > as well as "=". > > > > > > I finally got my dev package installed and packed to the toolchain > > > after adding "log4cxx-dev" to the list of RDEPENDS_${PN} > > > in > > > /meta-eldk/recipes-qt/packagegroups/packagegroup-qte-toolchain-target.b > > > bap pend. > > > > > > Do you know how to achieve the same via the build configuration in > > > conf/local.conf? Setting RDEPENDS_meta-toolchain-qte or > > > RDEPENDS_packagegroup-qte-toolchain-target in conf/local.conf is > > > ignored. I think this is because RDEPENDS variable is parsed only > > > for the .bb recipes. > > > > The workflow here would be to produce another metalayer (meta-emcraft > > for example) containing another > > packagegroup-qte-toolchain-target.bbappend file, which would contain > > the RDEPENDS_${PN} += "foo bar baz" . This is how all this metalayer > > stuff is supposed to work -- you're not supposed to modify the layers > > you receive, but instead you produce your own and contain your > > adjustments in it. > > Yes, already thought so. Thanks!
Sure, you're welcome. Ask if you need help with the new metalayer. meta-foo/classes/image_types_bar.bbclass meta-foo/conf/bblayers.conf.sample meta-foo/conf/layer.conf meta-foo/conf/local.conf.sample meta-foo/conf/machine/bar.conf meta-foo/conf/site.conf.sample These are the files you usually need in your new layer. Best regards, Marek Vasut _______________________________________________ eldk mailing list [email protected] http://lists.denx.de/mailman/listinfo/eldk
