Date
21 - 23 of 23
examples / docs on utilizing an external toolchain
Gary Thomas
On 2011-08-04 09:06, Khem Raj wrote:
On Thursday, August 04, 2011 08:58:59 AM Gary Thomas wrote:This turns out (in my case) to be a sensitivity to $DISTRO_FEATURESOn 2011-08-04 08:49, Richard Purdie wrote:can you post bitbake -e of say gcc-cross gcc-runtime and eglibcOn Wed, 2011-08-03 at 23:59 -0500, Kumar Gala wrote:That would be great, if only it worked for this purpose. Sadly, I've notOn Aug 3, 2011, at 10:12 AM, Richard Purdie wrote:We have supported this in the past but it got messy and I'd reallyOn Wed, 2011-08-03 at 09:50 -0500, Kumar Gala wrote:Yes that helps. So it looks as if today there is not a means to pointOn Aug 3, 2011, at 9:22 AM, Richard Purdie wrote:I'll explain on the condition that someone actually documents thisOn Wed, 2011-08-03 at 09:04 -0500, Kumar Gala wrote:Ok, but how does one use TCMODE? :)Bug submitted:FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core One of my builds had slightly different value, but not such that it actually changed any packages (it had an unused key). I tried this with two machines, identical except in the name, with machineB sharing state with machineB. The only packages which had to be rebuilt were the target specific ones, e.g. the machine kernel. If I touch DISTRO_FEATURES in the build for machineB though, the number of packages rebuilt skyrockets (list attached). For now, I'll make sure that DISTRO_FEATURES is not something that my builds touch. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ |
|
Kumar Gala <galak@...>
We have supported this in the past but it got messy and I'd reallyYes that helps. So it looks as if today there is not a means to pointI'll explain on the condition that someone actually documents this ;-).Ok, but how does one use TCMODE? :)http://bugzilla.pokylinux.org/show_bug.cgi?id=1323FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core changes. What got mess about it? Seems like a poky built sdk toolchain should work as an external toolchain w/o too much issue. - k |
|
Richard Purdie
On Thu, 2011-08-04 at 19:05 -0500, Kumar Gala wrote:
When you have an external toolchain you have to consider things likeWe have supported this in the past but it got messy and I'd reallyYes that helps. So it looks as if today there is not a means to pointI'll explain on the condition that someone actually documents this ;-).Ok, but how does one use TCMODE? :)http://bugzilla.pokylinux.org/show_bug.cgi?id=1323FWIW, POKYMODE was replaced by TCMODE as part of the OE-Core changes. packaging up the libc locales and generating the pkgdata information about shared libraries amongst other things. We therefore went down the route of shipping that information with the toolchain rather than generating it each time along with the package files (ipk/rpm/deb). It turns out to get quite ugly trying to track all the pieces bitbake generates and deal with all the corner cases (like it packaged with ipk but you want rpm). sstate is designed to be able to handle all those pieces. If you have an external toolchain and don't mind regenerating all that stuff, its fine. Cheers, Richard |
|