Squashed commit of AOSP/CM Makefile (repo)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

commit 949175555d928b25081c2e25c78f9679d74cc9ff
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sun Jul 27 01:10:24 2014 +0200

    Add symlinks to all git-core shell applets

    add also git-sh-i18n--envsubst, required for git am

    Change-Id: I98eafebc88157220417c0894aa2764a97ba4a913

commit d9f148c132b162e24169f2d399cee3b32cb99c4b
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sun Jul 27 00:01:39 2014 +0200

    Android: fix git-pull, a symlink was required

    git-pull.sh script should be linked to git-pull,
    Also this script requires a tool named git-merge,
    symlinked to main git binary.

    + Regroup all libcurl dependencies in a single bloc
    + Hide noisy sign warnings

    Change-Id: I2ebd0dc52d0cca7336099130731e85a6e745cefd

commit af145e4d1ba0b3b72a49f2ca305ed3793b1567d2
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat Jul 26 20:25:09 2014 +0200

    Android: make libcurl shared lib optional for AOSP

    Also sed remains of dynamic vars in scripts (@@DIFF@@, @@PERL@@)

    Note about perl: its only used in a few scripts (like git-am)
    and is not fully required for git tools.

    Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

commit 646bc90caa72be7728bd73ef7c0d2acc77da5e9a
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat Jul 26 12:43:46 2014 +0200

    Android: final pass, style and comments

    Change-Id: Ic89e68dfa8a884fc4a6f97096d6960a7c4de2df3

commit beda35a5e7df5b107665097b5d081d7dd509b321
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat Jul 26 11:27:33 2014 +0200

    Add other git-tools (optional)

    implements other git-core/git-<tools> in Android.mk

    build them with 'mma' in external/git folder,
    or 'mmp -B' to push them directly on a CyanogenMod Repo...

    Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

commit 20107192aecdbb14e1c40bd812d5db00f81b8041
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat Jul 26 10:51:59 2014 +0200

    Add some optional tools, fix ssl certs

    Factorize git objects into a static lib to enhance build
    speed, and move lib/git-core to xbin/git-core to set the
    right permissions on binaries.

    Also, Ignore SSL Cert problem in git config to be able
    to clone from github (https://)

    Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

commit ff1f0b4b310d9e22db40125d3a2ba27e3773770c
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat Jul 26 09:37:35 2014 +0200

    Android: add missing git-remote-http(s)

    Which use the shared libexpat (for git push over http)

    Prepare other optional tool list (shell, credential-store etc)
    Should be added later as other "optional" modules

    Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

commit b2b8c6669525b28ca4c2fc4ca1e96212a10a39c4
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat Jul 26 07:39:10 2014 +0200

    Change default editor to vim

    set pager to busybox more, with colors,
    'lv' tool could be better, but not in CM yet

    https://github.com/tpruvot/android_external_lv/

    Also add android etc/gitconfig, to enable colors

    Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

commit b76341e43516774093452b2858d8371c13e1a812
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat Jul 26 04:44:01 2014 +0200

    Preliminary android makefile

    Build fine in CM 11 repo, required shared libs are :
    libz, libssl, libcurl

    They are already in CyanogenMod repo...

    Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>