554f3703e5
* Replace the 1-to-1 variable-to-buildtype stuff with a single environment variable. CM_[TYPE]=true becomes CM_BUILDTYPE=[TYPE] * Change the placement of the extra version tag: 10.2-21234567-TYPE-model-TAG becomes 10.2-21234567-TYPE-TAG-model, for consistency with the rest. The last component of the version should always be the model. * Add support for the SNAPSHOT build type, for use with the monthlies * Unknown types will still fallback to UNOFFICIAL * Accept the jenkins RELEASE_TYPE variable as an alternative to CM_BUILDTYPE for compatibility with older branches Change-Id: Idf96c7ca887747a5ae49a17cf5adf642fb1d561f |
||
---|---|---|
bash_completion | ||
config | ||
overlay | ||
prebuilt/common | ||
sepolicy | ||
.gitignore | ||
CHANGELOG.mkdn | ||
CONTRIBUTORS.mkdn | ||
get-prebuilts | ||
LICENSE | ||
README.mkdn | ||
vendorsetup.sh |
CyanogenMod
Submitting Patches
Patches are always welcome! Please submit your patches via CyanogenMod Gerrit! You can do this by using these commands:
(From root android directory)
. build/envsetup.sh
(Go to repo you are patching, make your changes and commit)
cmgerrit <for(new)/changes(patch set)> <branch/change-id>
repo start cm-10.1 .
(Make your changes and commit)
repo upload .
Note: "." meaning current directory For more help on using this tool, use this command: repo help upload
Make your changes and commit with a detailed message, starting with what you are working with (i.e. vision: Update Kernel) Commit your patches in a single commit. Squash multiple commit using this command: git rebase -i HEAD~<# of commits>
To view the status of your and others' patches, visit CyanogenMod Code Review
Getting Started
To get started with Android/CyanogenMod, you'll need to get familiar with Repo and Version Control with Git.
To initialize your local repository using the CyanogenMod trees, use a command like this:
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
Then to sync up:
repo sync
Please see the CyanogenMod Wiki for building instructions, by device.
For more information on this Github Organization and how it is structured, please read the wiki article
Buildbot
All supported devices are built nightly and periodically as changes are committed to ensure the source trees remain buildable.
You can view the current build statuses in the Jenkins tool.