forked from Recoveries-CI/SHRP-CI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.sh
38 lines (29 loc) · 876 Bytes
/
config.sh
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
#!/bin/bash
# Device
export SHRP_MANIFEST="https://github.com/SHRP/manifest.git"
export SHRP_BRANCH="omni-9.0"
export DT_LINK="https://github.com/SHRP-Devices/device_xiaomi_whyred -b omni-9.0"
export DEVICE="whyred"
export OEM="xiaomi"
#export PLATFORM="msm8998"
export TARGET="recoveryimage"
export OUTPUT="SHRP_v*.zip"
export ADDON="SHRP_A*.zip"
# Kernel Source
# Uncomment the next line if you want to clone a kernel source.
#export KERNEL_SOURCE="https://github.com/faoliveira78/android_kernel_oneplus_msm8998"
# Extra Command
export EXTRA_CMD=""
# Not Recommended to Change
if [ ! -e $HOME/work ]; then
mkdir $HOME/work
fi
export SYNC_PATH="$HOME/work" # Full (absolute) path.
export J_VAL=16
if [ ! -z "$PLATFORM" ]; then
export KERNEL_PATH="kernel/$OEM/$PLATFORM"
else
export KERNEL_PATH="kernel/$OEM/$DEVICE"
fi
export DT_PATH="device/$OEM/$DEVICE"
#