[[PageOutline]] = General info setting up buildenvironment Cyanogenmod = This guide will help you to set up your build environment to build gingerbread for your archos gen7 or gen8. The archos specific sources for cyanogenmod can be found on [https://gitorious.org/openaos-cyanogenmod/] The build image will work with the modified archos kernel which sources can be found [https://gitorious.org/archos-buildroots/] '''Note:''' Only 64-bit build environments are supported by Android beyond froyo/2.2. Although it will build on a 32 bit build environment it is recommended to use 64 bit. (See also [http://groups.google.com/group/android-building/browse_thread/thread/852d63ab6124c87e posting to the Android Building group] == Creating a work directory == We need a place on or host PC where we can get our work done. I am using /usr/src/cyan. First make the dir and then run the chown command so you get full read/write access as normal user. If it isn't stated otherwise in this guide I assume you run the commands that are mentioned in this directory. {{{ $ sudo mkdir -p /usr/src/cyan/out /usr/src/cyan/openaos/scripts $ sudo chown : /usr/src/cyan/out $ cd /usr/src/cyan }}} == Info about the build scripts that are used == === openaos-setup script === This script will setup your build environment and keep it up to date. Commandline options openaos-setup: * '''--version''' '': Displays the version of the script.'' * '''--dependencies''' '': Will install dependencies needed to build cyanogenmod. Your linux distro must be supported.'' * '''--applypatches''' '': Automatic apply patches when found, already applied patches are detected. The patches that should be applied are in a file called series (same dir as patch files). Order of the filenames in the file series determines in which order the patches are applied.'' * '''--nosync''' '': Nothing will be updated, usefull if you for example only want to apply patches.'' * '''--sync