forked from MiCode/Xiaomi_Kernel_OpenSource
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocal.config
40 lines (32 loc) · 1.26 KB
/
local.config
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
38
39
40
#!/bin/bash
############################################################################################
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Kernel Source:
# git clone https://github.com/Thiviyan/xiaomi_kernel_lavender -b jasmine-q-oss
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
############################################################################################
##############################################
# Toolchains
##############################################
# Clang
unset CLANG_ROOT
unset CLANG_SRC
unset CLANG_PATH
unset LD_LIBRARY_PATH
unset CLANG_TRIPLE
unset CC
# Enable ccache to speed up compilation
CCACHE=true
# GCC 64bit
## arm64 cross compiler directory:
CCD64="${TD}/aarch64-linaro-5.5"
export CROSS_COMPILE=${CCD64}/bin/aarch64-linux-gnu-
## Source repository:
CROSS_COMPILE_SRC="https://images.kali.org/nethunter/toolchains/linaro-aarch64-5.5.tar.xz"
CROSS_COMPILE_SRC_TYPE="wget"
# Directory structure on the target device that will contain the modules directory
MODULE_DIRTREE=""
# Source Path for module tree to be copied to into nethunter zip
MODULES_IN=$BUILD_DIR/modules_out/lib/modules
# Kernel local name
export LOCALVERSION=-S133PY