forked from almondnguyen/twrp_device_samsung_a32
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CI_config.sh
32 lines (26 loc) · 955 Bytes
/
CI_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
#!/bin/bash
# Device
export TWRP_MANIFEST="https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git"
export TWRP_BRANCH="twrp-12.1"
export DT_LINK="https://github.com/almondnguyen/twrp_device_samsung_a32 -b twrp-12.1"
export DEVICE="a32"
export OEM="samsung"
export TARGET="recoveryimage"
export OUTPUT="*.tar"
# Kernel Source
# Uncomment the next line if you want to clone a kernel source.
#export KERNEL_SOURCE="https://gitlab.com/OrangeFox/kernel/mojito.git"
#export PLATFORM="sm6150" # Leave it commented if you want to clone the kernel to kernel/$OEM/$DEVICE
# Not Recommended to Change
export SYNC_PATH="$HOME/work" # Full (absolute) path.
export USE_CCACHE=1
export CCACHE_SIZE="50G"
export CCACHE_DIR="$HOME/work/.ccache"
export J_VAL=16
mkdir -p $SYNC_PATH
if [ ! -z "$PLATFORM" ]; then
export KERNEL_PATH="kernel/$OEM/$PLATFORM"
else
export KERNEL_PATH="kernel/$OEM/$DEVICE"
fi
export DT_PATH="device/$OEM/$DEVICE"