forked from SherlockChiang/kali-nethunter-kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocal.config
More file actions
executable file
·43 lines (34 loc) · 1 KB
/
local.config
File metadata and controls
executable file
·43 lines (34 loc) · 1 KB
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
41
42
43
#!/bin/bash
##############################################
# Toolchains
##############################################
# Toolchain root directory
TD=/home/gdszero/toolchains/neutron-clang/
# Preferred editor
EDIT=nano
# Architecture
export ARCH=arm64
export SUBARCH=arm64
# Clang
export CLANG_ROOT=${TD}
export CLANG_PATH=${CLANG_ROOT}/bin
export PATH=${CLANG_PATH}:${PATH}
export LD_LIBRARY_PATH=${CLANG_ROOT}/lib64:$LD_LIBRARY_PATH
## "CC=clang" cannot be exported - we'll pass it to make in the function make_kernel if "CC" is set to "clang"
CC=clang
# GCC 64bit
## arm64 cross compiler directory:
export CROSS_COMPILE=aarch64-linux-gnu-
export CROSS_COMPILE_COMPAT=arm-linux-gnueabi-
export LLVM=1
export LLVM_IAS=1
export LOCALVERSION=-N0tHunter
# Image Type (Only ONE of the following (lz4/gz) can be enabled!)
# GZ Image (Uncomment to Enable)
IMAGE_NAME=Image.gz
# lz4 image (Uncomment to Enable)
#IMAGE_NAME=Image.lz4-dtb
# Set to "true" to enable dtbo
DO_DTBO=true
# Set to "true" to enable dtb
DO_DTB=true