Skip to content

Commit 4391895

Browse files
committed
Add my kernel to build
hope it works
1 parent 4805229 commit 4391895

File tree

3 files changed

+25
-3
lines changed

3 files changed

+25
-3
lines changed

.github/workflows/build_kernel.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
fail-fast: true
1212
matrix:
13-
version: ["LineageOS-20", "Zenitsu", "DivestOS-13"]
13+
version: ["LineageOS-20", "Zenitsu", "DivestOS-13", "Lava"]
1414

1515
env:
1616
VERSION: ${{ matrix.version }}
@@ -140,12 +140,14 @@ jobs:
140140
- Kernel Versions:
141141
- LineageOS-20: ${{ env.KERNEL_VERSION }}
142142
- Zenitsu: ${{ env.KERNEL_VERSION }}
143-
- DivestOS-13: ${{ env.KERNEL_VERSION }}
143+
- DivestOS-13: ${{ env.KERNEL_VERSION }}
144+
- Lava: ${{ env.KERNEL_VERSION }}
144145
145146
**Source URLs:**
146147
- LineageOS-20: ${{ env.lineage_url }}
147148
- Zenitsu: ${{ env.zenitsu_url }}
148149
- DivestOS-13: ${{ env.divest_url }}
150+
- Lava: ${{ env.divest_url }}
149151
150152
**Installation:**
151153
1. Sideloading in recovery mode.

ExSource.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@ echo "$json"
1616
LINEAGE_URL=$(echo "$json" | jq -r '.["LineageOS-20"].kernel[0]' | cut -d ' ' -f 3)
1717
ZENITSU_URL=$(echo "$json" | jq -r '.Zenitsu.kernel[0] | split(" ")[2]')
1818
DIVEST_URL=$(echo "$json" | jq -r '.["DivestOS-13"].kernel[0]' | cut -d ' ' -f 3)
19+
LAVA_URL=$(echo "$json" | jq -r '.["vlad-experimental"].kernel[0]' | cut -d ' ' -f 3)
1920

2021
# Print extracted URLs
2122
echo "Lineage URL: $LINEAGE_URL"
2223
echo "Zenitsu URL: $ZENITSU_URL"
2324
echo "Divest URL: $DIVEST_URL"
25+
echo "Divest URL: $LAVA_URL"
2426

2527
# Set the extracted URLs as output parameters using the new method
2628
echo "lineage_url=$LINEAGE_URL" >> $GITHUB_ENV
2729
echo "zenitsu_url=$ZENITSU_URL" >> $GITHUB_ENV
2830
echo "divest_url=$DIVEST_URL" >> $GITHUB_ENV
31+
echo "lava_url=$lava_URL" >> $GITHUB_ENV

sources.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,23 @@ DivestOS-13:
4646
kernelSU:
4747
- stable
4848

49+
Lava:
50+
kernel:
51+
- git clone https://gitlab.com/maksimvlad7/kernel_realme_mt6785.git -b vlad-experimental
52+
clang:
53+
- git clone --depth=1 https://gitlab.com/Jprimero15/lolz_clang.git -b main
54+
config:
55+
- make O=out ARCH=arm64 lineage-nashc_defconfig
56+
build:
57+
- ARCH=arm64 CROSS_COMPILE="${PWD}/clang/bin/aarch64-linux-gnu-" CROSS_COMPILE_COMPAT="${PWD}/clang/bin/arm-linux-gnueabi" CROSS_COMPILE_ARM32="${PWD}/clang/bin/arm-linux-gnueabi-" CLANG_TRIPLE=aarch64-linux-gnu- make -j$(nproc --all) LLVM=1 LLVM_IAS=1 LD=ld.lld AR=llvm-ar NM=llvm-nm AS=llvm-as OBJCOPY=llvm-objcopy OBJDUMP=llvm-objdump STRIP=llvm-strip O=out
58+
target:
59+
- out/arch/arm64/boot/Image.gz-dtb
60+
anykernel:
61+
- nashc
62+
kernelSU:
63+
- stable
64+
65+
4966
Clean:
5067
out:
5168
- rm -rf out
@@ -66,4 +83,4 @@ AnyKernel3:
6683
nashc:
6784
- git clone https://github.com/HowWof/AnyKernel3.git -b master
6885
test:
69-
- echo "Test Success!"
86+
- echo "Test Success!"

0 commit comments

Comments
 (0)