-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathconfig.sh
34 lines (27 loc) · 1.04 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
# GKI Version
export GKI_VERSION="android12-5.10"
# Build variables
export TZ="Asia/Makassar"
export KBUILD_BUILD_USER="eraselk"
export KBUILD_BUILD_HOST="QuartiX"
export KBUILD_BUILD_TIMESTAMP=$(date)
# AnyKernel variables
export ANYKERNEL_REPO="https://github.com/hazepynut/anykernel"
export ANYKERNEL_BRANCH="gki"
# Kernel
export KERNEL_REPO="https://github.com/hazepynut/gki_android12-5.10"
export KERNEL_BRANCH="master"
export DEFCONFIG="gki_defconfig"
export KERNEL_IMAGE="$WORKDIR/out/arch/arm64/boot/Image"
# Releases repository
export GKI_RELEASES_REPO="https://github.com/hazepynut/quartix-releases"
# AOSP Clang
export USE_AOSP_CLANG="false"
export AOSP_CLANG_VERSION="r547379"
# Custom clang
export USE_CUSTOM_CLANG="true"
export CUSTOM_CLANG_SOURCE=$(curl -s https://api.github.com/repos/hazepynut/quartix-clang/releases/latest | grep "browser_download_url" | cut -d '"' -f4)
export CUSTOM_CLANG_BRANCH=""
# Zip name
export BUILD_DATE=$(date -d "$KBUILD_BUILD_TIMESTAMP" +"%y%m%d%H%M")
export ZIP_NAME="QuartiX-KVER-OPTIONE-$BUILD_DATE.zip"