summaryrefslogtreecommitdiff
path: root/sync-o.sh
blob: 71358efa970cf40d23ae209a0f38c68c41222e19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/bash
export BASE=$(cd $(dirname $0);pwd)

source ${BASE}/scripts-common/sync-common.sh

if [ -d /SATA3/aosp-mirror/platform/manifest.git ]; then
    export MIRROR="/SATA3/aosp-mirror/platform/manifest.git"
elif [ -d /home/yongqin.liu/aosp-mirror/platform/manifest.git ]; then
    export MIRROR="/home/yongqin.liu/aosp-mirror/platform/manifest.git"
elif [ -d /development/android/aosp-mirror/platform/manifest.git ]; then
    export MIRROR="/development/android/aosp-mirror/platform/manifest.git"
else
    echo "Please specify value for MIRROR"
    exit 1
fi

branch="android-o-preview-4"
branch="android-8.0.0_r17"

LOCAL_MANIFEST="git://android-git.linaro.org/platform/manifest.git"
LOCAL_MANIFEST_BRANCH="linaro-oreo"

main "$@"

if true; then
${BASE}/sync-projects.sh  \
                          android-patchsets \
                          device/linaro/hikey \
                          kernel/linaro/hisilicon/ \
                          frameworks/base \
                          system/sepolicy \

#                        system/vold \
#                        system/core \

${BASE}/sync-projects.sh \
                        external/libdrm \
                        device/ti/am57xevm \
                        kernel/ti/x15/ \
                        ti/u-boot/ \

#                          art \
#                          external/opencv-upstream \

fi
#export http_proxy=192.168.0.102:37586
#export https_proxy=192.168.0.102:37586

func_apply_patch get-hikey-blobs
func_apply_patch O-RLCR-PATCHSET
func_apply_patch hikey-o-workarounds
func_apply_patch hikey-optee-o
func_apply_patch hikey-optee-4.9
func_apply_patch hikey-clang-4.9
func_apply_patch OREO-BOOTTIME-OPTIMIZATIONS-HIKEY
#func_apply_patch x15-o-workarounds
#func_apply_patch NOUGAT-BOOTTIME-OPTIMIZATIONS-X15
#func_apply_patch NOUGAT-BOOTTIME-OPTIMIZATIONS-JUNO

#func_apply_patch LIUYQ-PATCHSET

#./build.sh
exit