summaryrefslogtreecommitdiffstats
path: root/envsetup.sh
diff options
context:
space:
mode:
authornebkat <nebkat@teamhacksung.org>2012-12-28 10:40:45 +0000
committerAdnan Begovic <adnan@cyngn.com>2015-10-06 16:12:13 -0700
commitfb67a1e9ce9f104d6199aa0ffe40cb1d79142dbe (patch)
tree2a3f50f98a5b26dac71b2e65709e744313db3904 /envsetup.sh
parentc45539e6633a50221fea913f95e594fab836e104 (diff)
downloadbuild-fb67a1e9ce9f104d6199aa0ffe40cb1d79142dbe.zip
build-fb67a1e9ce9f104d6199aa0ffe40cb1d79142dbe.tar.gz
build-fb67a1e9ce9f104d6199aa0ffe40cb1d79142dbe.tar.bz2
cout: move to $out
Change-Id: I3b5bf8a5f62dcdf267662bb97a2073150152cfa6
Diffstat (limited to 'envsetup.sh')
-rw-r--r--envsetup.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/envsetup.sh b/envsetup.sh
index 49018a0..361a955 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -4,6 +4,7 @@ Invoke ". build/envsetup.sh" from your shell to add the following functions to y
- lunch: lunch <product_name>-<build_variant>
- tapas: tapas [<App1> <App2> ...] [arm|x86|mips|armv5|arm64|x86_64|mips64] [eng|userdebug|user]
- croot: Changes directory to the top of the tree.
+- cout: Changes directory to out.
- m: Makes from the top of the tree.
- mm: Builds all of the modules in the current directory, but not their dependencies.
- mmm: Builds all of the modules in the supplied directories, but not their dependencies.
@@ -995,6 +996,15 @@ function croot()
fi
}
+function cout()
+{
+ if [ "$OUT" ]; then
+ cd $OUT
+ else
+ echo "Couldn't locate out directory. Try setting OUT."
+ fi
+}
+
function cproj()
{
TOPFILE=build/core/envsetup.mk