forked from ViRb3/android-kernel-ci
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.sh
More file actions
executable file
·30 lines (24 loc) · 842 Bytes
/
config.sh
File metadata and controls
executable file
·30 lines (24 loc) · 842 Bytes
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
#!/bin/bash
export REPO_ROOT=`pwd`
# Paths
export CLANG="${REPO_ROOT}/data/clang/clang-r353983d/bin/clang"
export CROSS_COMPILE="${REPO_ROOT}/data/gcc/bin/aarch64-linux-android-"
export ANYKERNEL_DIR="${REPO_ROOT}/data/anykernel"
export ANYKERNEL_IMAGE_DIR="${ANYKERNEL_DIR}"
export KERNEL_DIR="${REPO_ROOT}/data/kernel"
# Define to enable ccache
if [ ! -z ${AKCI_CCACHE} ]; then
export CLANG="ccache ${CLANG}"
mkdir -p "ccache"
export CCACHE_BASEDIR="${REPO_ROOT}"
export CCACHE_DIR="${REPO_ROOT}/ccache"
export CCACHE_COMPILERCHECK="content"
fi
# If not defined gives long compiler name
export COMPILER_NAME="CLANG-9.0.4"
# Kernel config
export DEFCONFIG="redflare_defconfig"
export KERNEL_NAME="RedFlare-Kernel"
export KBUILD_BUILD_USER="elf"
export KBUILD_BUILD_HOST="buildstation"
export KBUILD_BUILD_VERSION=1