forked from OrangeFoxRecovery/OrangeFox-CI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sh
37 lines (29 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
37
#!/bin/bash
# Device
export FOX_BRANCH="fox_9.0"
export DT_LINK="https://gitlab.com/OrangeFox/device/whyred.git -b fox_9.0"
export DEVICE="whyred"
export OEM="xiaomi"
# 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
mkdir $HOME/work
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