-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrc.sh
More file actions
executable file
·45 lines (36 loc) · 1.58 KB
/
rc.sh
File metadata and controls
executable file
·45 lines (36 loc) · 1.58 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
44
45
#!/bin/bash
############################################################
### Single run script for HolyDragon Kernel
############################################################
# This is a cleanup and single run build script for testing purposes.
# This does not zip anything for you, only executes a normal build.
# Minimum requirements to build:
# Already working build environment :P
#
# In this script:
# You will need to change the 'Source Path to kernel tree' to match your current path to this source.
# You will need to change the 'Compile Path to out' to match your current path to this source.
# You will also need to edit the '-j32' under 'Start Compile' section and adjust that to match the amount of cores you want to use to build.
#
# In Makefile:
# You will need to edit the 'CROSS_COMPILE=' line to match your current path to this source.
#
# Once those are done, you should be able to execute './run.sh' from terminal and receive an Image.gz-dtb file in arch/arm64/boot/
############################################################
# Build Script Variables
############################################################
# Source defconfig used to build
dc=HDO_defconfig
# Source Path to kernel tree
k=/home/holyangel/android/Kernels/OP3
# Source Path to clean(empty) out folder
co=$k/out
# Compile Path to out
o="O=/home/holyangel/android/Kernels/OP3/out"
############################################################
# Start Compile
############################################################
echo " Starting compile.."
make "$o" -j32
echo " First pass completed!"
echo " "