Loading envsetup.sh +19 −0 Original line number Original line Diff line number Diff line Loading @@ -20,6 +20,7 @@ Invoke ". build/envsetup.sh" from your shell to add the following functions to y - cmgerrit: A Git wrapper that fetches/pushes patch from/to CM Gerrit Review. - cmgerrit: A Git wrapper that fetches/pushes patch from/to CM Gerrit Review. - cmrebase: Rebase a Gerrit change and push it again. - cmrebase: Rebase a Gerrit change and push it again. - aospremote: Add git remote for matching AOSP repository. - aospremote: Add git remote for matching AOSP repository. - cafremote: Add git remote for matching CodeAurora repository. - mka: Builds using SCHED_BATCH on all processors. - mka: Builds using SCHED_BATCH on all processors. - mkap: Builds the module(s) using mka and pushes them to the device. - mkap: Builds the module(s) using mka and pushes them to the device. - cmka: Cleans and builds using mka. - cmka: Cleans and builds using mka. Loading Loading @@ -1449,6 +1450,24 @@ function aospremote() } } export -f aospremote export -f aospremote function cafremote() { git remote rm caf 2> /dev/null if [ ! -d .git ] then echo .git directory not found. Please run this from the root directory of the Android repository you wish to set up. fi PROJECT=`pwd | sed s#$ANDROID_BUILD_TOP/##g` if (echo $PROJECT | grep -qv "^device") then PFX="platform/" fi git remote add caf git://codeaurora.org/$PFX$PROJECT echo "Remote 'caf' created" } export -f cafremote function installboot() function installboot() { { if [ ! -e "$OUT/recovery/root/etc/recovery.fstab" ]; if [ ! -e "$OUT/recovery/root/etc/recovery.fstab" ]; Loading Loading
envsetup.sh +19 −0 Original line number Original line Diff line number Diff line Loading @@ -20,6 +20,7 @@ Invoke ". build/envsetup.sh" from your shell to add the following functions to y - cmgerrit: A Git wrapper that fetches/pushes patch from/to CM Gerrit Review. - cmgerrit: A Git wrapper that fetches/pushes patch from/to CM Gerrit Review. - cmrebase: Rebase a Gerrit change and push it again. - cmrebase: Rebase a Gerrit change and push it again. - aospremote: Add git remote for matching AOSP repository. - aospremote: Add git remote for matching AOSP repository. - cafremote: Add git remote for matching CodeAurora repository. - mka: Builds using SCHED_BATCH on all processors. - mka: Builds using SCHED_BATCH on all processors. - mkap: Builds the module(s) using mka and pushes them to the device. - mkap: Builds the module(s) using mka and pushes them to the device. - cmka: Cleans and builds using mka. - cmka: Cleans and builds using mka. Loading Loading @@ -1449,6 +1450,24 @@ function aospremote() } } export -f aospremote export -f aospremote function cafremote() { git remote rm caf 2> /dev/null if [ ! -d .git ] then echo .git directory not found. Please run this from the root directory of the Android repository you wish to set up. fi PROJECT=`pwd | sed s#$ANDROID_BUILD_TOP/##g` if (echo $PROJECT | grep -qv "^device") then PFX="platform/" fi git remote add caf git://codeaurora.org/$PFX$PROJECT echo "Remote 'caf' created" } export -f cafremote function installboot() function installboot() { { if [ ! -e "$OUT/recovery/root/etc/recovery.fstab" ]; if [ ! -e "$OUT/recovery/root/etc/recovery.fstab" ]; Loading