forked from Zero-NEET-Alfa/builder-kernel-circleci
-
Notifications
You must be signed in to change notification settings - Fork 0
/
do-main.sh
52 lines (46 loc) · 1.13 KB
/
do-main.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#! /bin/bash
branch="lynx"
CODENAME="X01BD"
BuilderKernel="00000"
if [ "$BuilderKernel" != "proton" ] && [ "$BuilderKernel" != "dtc" ] && [ "$BuilderKernel" != "gcc" ] && [ "$BuilderKernel" != "storm" ] && [ "$BuilderKernel" != "strix" ] && [ "$BuilderKernel" != "yuki" ] && [ "$BuilderKernel" != "sdclang" ] ;then
exit;
fi
if [ "$CODENAME" == "X00TD" ];then
SOURCE=kernel-x00t
else
SOURCE=kernel-x01bd
fi
FolderUp="BrokenNucleus"
TypeBuild="RELEASE"
if [ "$branch" = "lynx-eas" ] || [ "$branch" = "skywalker-eas" ];then
TypeBuildTag="EAS"
TypeScript="EAS Advanced Configuration"
AKbranch="injectorx-eas"
if [ "$CODENAME" == "X00TD" ];then
spectrumFile="eas-x00t.rc"
else
spectrumFile="eas.rc"
fi
else
TypeBuildTag="HMP"
TypeScript="Spectrum"
AKbranch="injectorx"
if [ "$CODENAME" == "X00TD" ];then
spectrumFile="ryuu-x00t.rc"
else
spectrumFile="ryuu.rc"
fi
fi
. main.sh 'initial' 'full'
getInfo ">> Building kernel . . . . <<"
CompileKernel
# CompileKernel "65"
# CompileKernel "68"
# CompileKernel "71"
# CompileKernel "72"
FixPieWifi
CompileKernel
# CompileKernel "65"
# CompileKernel "68"
# CompileKernel "71"
# CompileKernel "72"