forked from OrangeFoxRecovery/OrangeFox-CI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sh
36 lines (28 loc) · 1.02 KB
/
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
#!/bin/bash
# Device
export FOX_BRANCH="fox_12.1"
export DT_LINK="https://github.com/onichan0923/custom_recovery_tree_realme_ferrari -b twrp-12.1"
export DEVICE="ferrari"
export OEM="realme"
# Build Target
## "recoveryimage" - for A-Only Devices without using Vendor Boot
## "bootimage" - for A/B devices without recovery partition (and without vendor boot)
## "vendorbootimage" - for devices Using vendor boot for the recovery ramdisk (Usually for devices shipped with Android 12 or higher)
export TARGET="recoveryimage"
export OUTPUT="OrangeFox*.zip"
# Additional Dependencies (eg: Kernel Source)
# Format: "repo dest"
DEPS=(
"https://github.com/OrangeFoxRecovery/Avatar.git misc"
)
# Extra Command
export EXTRA_CMD="export OF_MAINTAINER=Sushrut1101"
# Magisk
## Use the Latest Release of Magisk for the OrangeFox addon
export OF_USE_LATEST_MAGISK=true
# 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