build: Split envsetup help to a separate file
Document missing functions while we are at it.
Change-Id: I76063d36775c8c7326153de50e44a24410fc11a2
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
diff --git a/build/envsetup.sh b/build/envsetup.sh
index a7da8a5..4068fb6 100644
--- a/build/envsetup.sh
+++ b/build/envsetup.sh
@@ -1,31 +1,3 @@
-function __print_bliss_functions_help() {
-cat <<EOF
-Additional BlissRoms functions:
-- cout: Changes directory to out.
-- mmp: Builds all of the modules in the current directory and pushes them to the device.
-- mmap: Builds all of the modules in the current directory and its dependencies, then pushes the package to the device.
-- mmmp: Builds all of the modules in the supplied directories and pushes them to the device.
-- blissgerrit: A Git wrapper that fetches/pushes patch from/to BlissRoms Gerrit Review.
-- blissrebase: Rebase a Gerrit change and push it again.
-- blissremote: Add git remote for BlissRoms Gerrit Review.
-- aospremote: Add git remote for matching AOSP repository.
-- cafremote: Add git remote for matching CodeAurora repository.
-- githubremote: Add git remote for BlissRoms Github.
-- mka: Builds using SCHED_BATCH on all processors.
-- mkap: Builds the module(s) using mka and pushes them to the device.
-- cmka: Cleans and builds using mka.
-- repodiff: Diff 2 different branches or tags within the same repo
-- repolastsync: Prints date and time of last repo sync.
-- reposync: Parallel repo sync using ionice and SCHED_BATCH.
-- repopick: Utility to fetch changes from Gerrit.
-- sort-blobs-list: Sort proprietary-files.txt sections with LC_ALL=C.
-- installboot: Installs a boot.img to the connected device.
-- installrecovery: Installs a recovery.img to the connected device.
-- blissify: Sets up build environment using breakfast(),
- and then compiles using mka() against blissify target.
-EOF
-}
-
function mk_timer()
{
local start_time=$(date +"%s")
diff --git a/build/soong/bin/hmm b/build/soong/bin/hmm
new file mode 100644
index 0000000..81056c3
--- /dev/null
+++ b/build/soong/bin/hmm
@@ -0,0 +1,27 @@
+function __print_bliss_functions_help() {
+cat <<EOF
+Additional BlissRoms functions:
+- cout: Changes directory to out.
+- mmp: Builds all of the modules in the current directory and pushes them to the device.
+- mmap: Builds all of the modules in the current directory and its dependencies, then pushes the package to the device.
+- mmmp: Builds all of the modules in the supplied directories and pushes them to the device.
+- blissgerrit: A Git wrapper that fetches/pushes patch from/to BlissRoms Gerrit Review.
+- blissrebase: Rebase a Gerrit change and push it again.
+- blissremote: Add git remote for BlissRoms Gerrit Review.
+- aospremote: Add git remote for matching AOSP repository.
+- cafremote: Add git remote for matching CodeAurora repository.
+- githubremote: Add git remote for BlissRoms Github.
+- mka: Builds using SCHED_BATCH on all processors.
+- mkap: Builds the module(s) using mka and pushes them to the device.
+- cmka: Cleans and builds using mka.
+- repodiff: Diff 2 different branches or tags within the same repo
+- repolastsync: Prints date and time of last repo sync.
+- reposync: Parallel repo sync using ionice and SCHED_BATCH.
+- repopick: Utility to fetch changes from Gerrit.
+- sort-blobs-list: Sort proprietary-files.txt sections with LC_ALL=C.
+- installboot: Installs a boot.img to the connected device.
+- installrecovery: Installs a recovery.img to the connected device.
+- blissify: Sets up build environment using breakfast(),
+ and then compiles using mka() against blissify target.
+EOF
+}