Hello, to simplify the setup of a new OE toolchain (->Getting started...) and to save some time I wrote a script which automates this process.
I thought that some of you guys might find it useful. It is sure not perfect but does its job, maybe it is worth to put it in the wiki. A few bits of information about the script: - The script automatically puts together all elements that are necessary to succesfully build a bootstrap-image and builds it; it is tested for x86. I just did a test run the last few hours that completed succesfully on an x86_64 build machine. - I wrote it when it still took quite some time to parse/cache all the packages, so it uses symbolic links only for the packages needed for a bootstrap-image, so that a later call of bb is faster. - it also downloads and allnoconfigs a kernel, just for convenience to play with or to have it available separately from the work dir. - it needs the file libc_sources.redhat.com__20040726.tar.gz which is no longer available from cvs. Get it before you start the script and put it in the 'source' dir after you started the script (there is enough time). Get it for example at: http://www.dambrain.homelinux.net/Dreambox/Openembedded/snapshots_20050524/libc_sources.redhat.com__20040726.tar.gz When the script is done you have a full gcc 3.4.4 (x86) based OE toolchain & bootstrap-image ready to build more packages or to write more .bb files or to play with the bootstrap-image. Make sure to symlink the packages you want to build or change the .bb path in the cfg files. The rootfs is done as ext2.gz. The kernel is linux-x86. Check the config files if they suit your needs and rebuild... It should be easy to modify it for other architectures or for gcc 4+, as I understand it the most critical factors are glibc issues, so you might need to experiment a bit with the PREFERRED...glibc settings in the config files. cheers chris144
bootstrap-oe.sh
Description: application/shellscript
_______________________________________________ Oe mailing list [email protected] https://www.handhelds.org/mailman/listinfo/oe
