summaryrefslogtreecommitdiffstats
path: root/envsetup.sh
Commit message (Collapse)AuthorAgeFilesLines
* Do not use roomservice when a repository is missingPaul Kocialkowski2013-10-281-11/+0
| | | | | Change-Id: I867fa21cd52b1d0e0a49160b953bde3cd84b1639 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Initial Replicant 4.2 commitPaul Kocialkowski2013-10-281-3/+7
| | | | | Change-Id: I69b539d5a87304d53b62d112d6895fd36bfc6446 Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* envsetup: add a helper to fix "out/target/common" not being really commonChirayu Desai2013-07-231-0/+20
| | | | | | | | | | | | * out/target/common isn't really common, and if you do back to back builds for multiple devices, that is noticable. * Use out/target/common-$device instead, and link the appropriate dir to out/target/common every time lunch() is run, if CM_FIXUP_COMMON_OUT is set. * Refer https://groups.google.com/forum/#!topic/android-building/ispbOgzoyg8 for more info. Change-Id: I11e7df0e68e2a60ce32576f06397d60fc9465b60
* Merge "lets make the lunch list look a little neater" into cm-10.1Ricardo Cerqueira2013-07-151-2/+2
|\
| * lets make the lunch list look a little neatercybojenix2013-06-281-2/+2
| | | | | | | | | | | | | | It's very simple, but with more and more devices coming in, a long list won't cut it There are probably better ways of doing this, feel free to comment Change-Id: I9bd1fef920f985a133c882df9987b6be29dbc7b8
* | envsetup.sh: add missing dquotesChristopher Lais2013-07-031-1/+1
| | | | | | | | Change-Id: Ic86a5dd36b0f32cd7dc4d2f9c187566398796ed6
* | dopush: push files to /data tooChirayu Desai2013-07-031-2/+3
|/ | | | Change-Id: I85e24575a04955ae17b978f038edc46e1e6bfa2c
* Merge "envsetup: add quotes around PROMPT_COMMAND" into cm-10.1Ricardo Cerqueira2013-06-111-1/+1
|\
| * envsetup: add quotes around PROMPT_COMMANDEthan Chen2013-05-071-1/+1
| | | | | | | | | | | | Better compatibility for zsh. Change-Id: Ie010c30580e67e3b5357e3cc869114a525762677
* | envsetup: hmm repopickChirayu Desai2013-06-051-0/+1
| | | | | | | | Change-Id: I483cb36721f31dbf1f67e46cbe8a306b2a9e2c15
* | repopick: initial commitChirayu Desai2013-06-051-0/+5
|/ | | | Change-Id: Ie42c11d335da07f6d164a0fcb887011e5fd6dcf4
* eat: get the proper MODVERSIONChirayu Desai2013-05-051-1/+1
| | | | | | | | | | * The version in system/build.prop might be different than what the zip is named on incremental builds. * Use CM_VERSION from the build system instead. Change-Id: If4508921d8fd05219a2f358a2397a13b247065bd Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org>
* cout: move to $outnebkat2013-05-051-0/+10
| | | | Change-Id: I3b5bf8a5f62dcdf267662bb97a2073150152cfa6
* envsetup: Make installboot work in recovery mode tooSteve Kondik2013-04-171-6/+4
| | | | | | * Needs a change to adb to allow waiting for recovery Change-Id: Ia90645513f46bcb5f20b7c74c55ef15842710d3d
* Consolidate bash version checksJames Roberts-Thomson2013-04-161-7/+3
| | | | | | | | There were two checks for bash version, the 2nd was superfluous; this patch removes the duplicate checks, and shifts the bash version check to being back after the "are we in bash" check. Change-Id: I57ff8c1fedce80f739c06643d2976d2c1465db1b
* Check bash version instead of OS for bash completionPawit Pornkitprasan2013-04-161-1/+1
| | | | | | The bash completion script requires bash 4.0 Change-Id: Id81a42585b1d2cb568cb1b8f602f2bb447bef214
* The bash completion stuff is crapping out on darwin. Disabling.Koushik Dutta2013-04-151-0/+4
| | | | | | Let me know if I am doing something wrong. Change-Id: I6f61f869140b26db0a119617b353e0952eeaebeb
* eat: Eat using adb sideloadSteve Kondik2013-04-131-20/+8
| | | | | | * Requires new recovery and updated adbd Change-Id: I65990822ab63313701d74783d95611d128d90f94
* envsetup: allow using mka for mm{,m}Chirayu Desai2013-04-131-3/+13
| | | | Change-Id: I6c0fce5e67a3b5c49023d3c00825e35b08d41845
* envsetup: export ANDROID_BUILD_TOP earlierChirayu Desai2013-03-241-2/+2
| | | | Change-Id: Ia3497f61f4e9aaeeb793cecd3b4f488f0a48181a
* envsetup: include bash completion script from vendor/cmChirayu Desai2013-03-161-1/+3
| | | | Change-Id: Id90d84748df41d6626dfd46befabe0054c6d14e7
* eat: Use /cache if possibleSteve Kondik2013-02-271-5/+14
| | | | | | * Check the size of /cache and use it if possible. Change-Id: I72fecf3f8d2311c04e63fe81a7ca9a8a6a40419d
* Merge tag 'android-4.2.2_r1' of ↵Steve Kondik2013-02-121-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/build into 1.1 Android 4.2.2 release 1 Conflicts: core/build_id.mk core/tasks/apicheck.mk target/product/full_base.mk Change-Id: I085357b5573fec85b05d3fc0a86c053a647e2572
| * Put ANDROID_BUILD_PATHS before the system default PATHYing Wang2012-11-271-4/+4
| | | | | | | | | | | | | | So tools like adb that are built from source won't be overridden by the host system tools, when you run these tools without specifying the path. Change-Id: I2f0a288b38fabf57c7a4aa3bae5e42d7b734398d
* | envsetup: More PROMPT_COMMANDRicardo Cerqueira2013-01-151-4/+6
| | | | | | | | | | | | | | | | | | | | * Get rid of ANDROID_NO_PROMPT_COMMAND, the pre-existing STAY_OFF_MY_LAWN does the same thing * Remove any pre-existing android prefixes to avoid accumulation scenarios in consecutive builds (i.e., multiple build identification strings in hardstatus) Change-Id: I86661e066e18ea6ad0c742fa1dc6555780fa5441
* | envsetup: Really fix PROMPT_COMMAND handlingSteve Kondik2013-01-131-3/+7
| | | | | | | | | | | | | | * Add ANDROID_NO_PROMPT_COMMAND to not change it at all. * Export ANDROID_PROMPT_PREFIX so it can be used elsewhere. Change-Id: Ib2a487404d3b8a367a21582e8a0ce69c2d212a9a
* | envsetup: Fix $PROMPT_COMMANDRicardo Cerqueira2013-01-121-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | Change I200902f135d0c5c620a8eb3ce9cefdba318cf9d3 broke the android PROMPT_COMMAND on scenarios where the existing prompt already had a hardstatus adjustment, since appending it to Android's just clobbered Android's in favor of the original. So instead of appending them, inject android's at the beggining of the existing one (and create a default if none exists) Change-Id: I1fbcbfdb6220d886dda3662da498d1759a4c195b
* | envsetup: Don't tread on my $PROMPT_COMMANDSteve Kondik2013-01-081-2/+5
| | | | | | | | | | | | | | * I want my own PROMPT_COMMAND to coexist with Android's, so stash it in the environment and add it to the new command. Change-Id: I200902f135d0c5c620a8eb3ce9cefdba318cf9d3
* | envsetup: push to connected device only if it is $CM_BUILDChirayu Desai2013-01-081-0/+10
| | | | | | | | Change-Id: Icce057cb31d6fbc9abb0292311c88c32fea3540c
* | Revert "Optimize the CM builds"Ricardo Cerqueira2012-12-281-1/+0
| | | | | | | | | | This reverts commit 521a5150e87933f26a926037b8e84916a5941d07. Squisher is gone, we need the signage stuff back
* | build: installboot: support mtd partitionPawit Pornkitprasan2012-12-131-1/+7
| | | | | | | | Change-Id: I357b8bc35b77e359c676882cd5a3bf05dc5ecfd2
* | build: Update domain namePawit Pornkitprasan2012-12-111-5/+5
| | | | | | | | | | | | cyanogenmod.com -> cyanogenmod.org Change-Id: Icae50c103d94e2018027c971bf1a77f01e2602c6
* | mka: change how make is calledArnav Gupta2012-11-231-1/+1
| | | | | | | | | | | | | | | | in some environments make -j N xxx results in compiling target 'N' instead of 'xxx' make -jN xxx will always make 'xxx' with N number of threads Signed-off-by: Arnav Gupta <championswimmer@gmail.com> Change-Id: I77f17c9286a5ef1d61163d8f978900fb4c24e2e7
* | fix "eat"Ricardo Cerqueira2012-11-201-1/+1
| | | | | | | | | | | | Assume user 0 is the active one when flashing... Change-Id: Ibdc28ef49f8023e786ee82c9e42c221409dfd6bb
* | Get rid of the whole modelid stuff, no supported device uses this crapRicardo Cerqueira2012-11-171-7/+1
| | | | | | | | Change-Id: Ic269aa2c7af70bd589f0c656428032faf6de5ecf
* | omnom (brunch + eat) commandNebojsa Cvetkovic2012-11-171-0/+6
| | | | | | | | Change-Id: I524e5a1450de7ea9c93512eebcb10f320e68fa82
* | Fix SmokeTestNebojsa Cvetkovic2012-11-171-1/+1
| | | | | | | | Change-Id: Ia53766b62d3777de49eaaac122042b99e6f1a3f7
* | build: Add "installrecovery" commandSteve Kondik2012-11-171-0/+35
| | | | | | | | | | | | | | | | * Similar to "installboot", add an "installrecovery" command which writes the recovery image to the correct partition of a running device. Change-Id: I1dcca44fd0d8afa08ece9e99cd914547acb99c83
* | dopush: improvementsChirayu Desai2012-11-171-8/+15
| | | | | | | | | | | | | | | | | | - use $OUT instead of replacing device name with a new line and then "tail"ing it. - adb shell stop/start if file is SystemUI.apk or framework/* - and some cleanup. Change-Id: I49278406dc53285b4919f7d41116ad849ec38250
* | envsetup: new function cmkaChirayu Desai2012-11-171-0/+22
| | | | | | | | | | | | | | | | | | | | | | - The build system adds a clean-<module> target for each module / package. - This utilizes that and cleans and builds using mka. - If no argument is supplied, it runs "mka clean". - If argument is (bacon|otapackage|systemimage), it runs installclean. Change-Id: I582ac2f92df3278c41c254c73e9c02ad7f406851
* | envsetup: make-and-push function enhancementsChirayu Desai2012-11-171-59/+61
| | | | | | | | | | | | | | | | | | - add new function dopush - builds using $1 (mm/mmm/mka) and pushes it to device - add mkap (aka dopush mka) Change-Id: Ib526e23fd7aee32364ee282290c3418c78f55481
* | build: Add "installboot" command to install boot imagesSteve Kondik2012-11-171-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * For devices that lack fastboot, this command will copy the boot image to a running device, write it out to the correct partition with dd, copy the modules and set the correct permissions. * Field surveys have discovered that a specific CM device maintainer is handling two devices, one with boot partition p7 and one at p8. * Extensive research has unveiled the fact that mixing up these partitions across these two specific devices will cause corruption of the TZ firmware, which cannot be restored and results in an unrecoverable brick. * Automate the process so this idiot (me) stops breaking shit. Change-Id: I0dc5449daf128181e2e349ea26ad5741cc87bfe7
* | build: Add "aospremote" commandSteve Kondik2012-11-171-0/+18
| | | | | | | | | | | | * Adds the git remote for the matching AOSP repository. Change-Id: Iad03fb95874ff39a39083218aec0d834e82b4480
* | envsetup.sh: Fix the `reposync` functionAlan Orth2012-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | It seems ionice can't find `repo` if it's in ~/bin, even if ~/bin is in the user's $PATH. Placing repo into /usr/bin or /usr/local/ bin works, but is undesirable (build instructions from both AOSP and CM tell users to put repo into ~/bin, and repo likes to update itself from time to time). This forces the reposync function to use the full path to the repo binary. Change-Id: I9dc4a3d4ec3f39563e3a84de7321189700079c2e
* | Eat: Option to specify directory of zip in recovery modeScott Warner2012-11-171-1/+3
| | | | | | | | | | | | | | It pushes to /mnt/sdcard0, which may be /emmc/ in recovery. Now the user can specify another path other than /sdcard/ where the zip is Change-Id: Ie39615132ae39d9f6b304a3049b2395b2a2af182
* | Revert "envsetup: mka improvements"Steve Kondik2012-11-171-11/+7
| | | | | | | | This reverts commit 1e7a791feb5c0ca789c53f2490af24283472815f.
* | envsetup: mka improvementsChirayu Desai2012-11-171-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | Use make -j -l y instead of just make -j x x is threads, y is 2*threads This way make builds with the maximum number of jobs it can while not getting the load average above y I've tested it with 8 (x on my pc), 16, 20 and 24, and 2*threads seemed to be the most efficient *needs more testing* Change-Id: Ifd72e699a6fadc08442472defcc764fb91179355
* | envsetup: Make eat restart adbd as root before pushing the recovery commandAlan Orth2012-11-171-0/+4
| | | | | | | | | | | | | | Without adbd running as root we can't write to /cache/recovery and eat fails with a permission denied. Change-Id: I015b50f29c001605cdc1a0088f68296b62809b56
* | Optimize the CM buildsEmilio López2012-11-171-0/+1
| | | | | | | | | | | | | | Why sign, align, unpack, optimize, sign, align zips and apks? Just sign and align once on the squisher to speed things up. Change-Id: I54db8b624be331b234eb968efb64de7629cd7f82
* | envsetup: Add some more commandsDaniel Bateman2012-11-171-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mmp: Like mm but pushes the built files afterward. * mmmp: Like mmm but pushes the built files afterward. These may be useful when doing debugging on a individual library, since it builds the library and pushes the new library to the device. Examples: mmmp -B device/samsung/vibrantmtd/libgps mmmp -B packages/apps/Torch Thanks: tpruvot for revisions Change-Id: Ia6bdd2b63797ea86e164af69496b70ea6d7c5156