On Thu, Feb 28, 2013 at 5:54 PM, Paul D. DeRocco <[email protected]> wrote: > I've been working with a Gumstix, and have successfully built both the > console and GUI version of their distro. So now I have two directories, > yocto/poky containing everything that was downloaded, and yocto/build > containing the stuff that was built. So far, so good. > > Now, I need to do a completely unrelated project, based on an Intel Atom. > I've downloaded the BSP (the N2600/N2800/D2550), and the directions told me > to unpack it so that it's all contained in yocto/meta-intel. Does this mean > that this BSP isn't related to Poky? My yocto/poky directory is full of > other meta-blahblah stuff, so I would think that meta-intel would go in > there, one level down.
Not sure about the Intel BSPs but they may contain just their layer and/or poky + meta-intel. It does not really matter where meta-intel lives on your file system though. It can be referenced directly in your 'conf/bblayers.conf' file in your build folder. > Then, the directions say to edit bblayers.conf, and possibly local.conf. The > only place I find these files are in my yocto/build/conf directory, but I > would think that doing a build for a different machine would involve setting > up a different build directory, e.g., yocto/buildatom. Is that correct? But > isn't the build directory set up by running the oe-init-build-env script, > which comes afterwards in the instructions? Different build folders are not an explicit requirement for different MACHINES (or in some cases unless there are some conflicts that are unknown diferrent distros - don't go out of your way to do this though). In fact if two MACHINES are the same ARCH you can reuse components between and save a lot of build time. That or use sstate-cache between two build folders which won't be quite as fast but almost... > Also, those instructions imply that I should run that script in the > yocto/poky directory, since that's where the script is located, but the > meta-intel is "upstairs" from that, which seems odd. Should not matter, you add meta-intel to 'conf/bblayers/conf' later. Unless this is possibly done for you via script - but I don't think any scripts in poky do this for you. Either way you can checkup on things layer to make sure the require layers are included. > I'm confused by all this, but more to the point, I'm afraid of doing the > wrong thing, and clobbering the Gumstix stuff, which took a day and a half > to build. I expect the Atom build will also take a long time, but I don't > want to have to do it two more times. You are mixing gumstix and poky distros in one build folder? That could work as mentioned above, but it might encounter issues. I don't think it's regularly tested though so YMMV. My suggest would be to share the sstate-cache between the two build environments. So if one package has already been built it's reused (and the signatures match - which just means it's deemed compatible between machines) It's also quite likely you won't save much build time since gumstix and poky will be using different ARCHs and all the recipes will be rebuilt anyways. Again not really that familiar with gumstix so some statements above could be a bit off. -M _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
