kernel/Makefile: check kernelsu driver version from online git repo first, if fails then check local .git and if that also fails then use hardcoded fallback

This commit is contained in:
Rifat Azad
2025-06-14 22:28:19 +06:00
committed by ShirkNeko
parent 74ec20745c
commit 00ffa86705
2 changed files with 26 additions and 12 deletions

View File

@@ -32,7 +32,7 @@ val androidCompileSdkVersion = 36
val androidCompileNdkVersion = "28.0.13004108"
val androidSourceCompatibility = JavaVersion.VERSION_21
val androidTargetCompatibility = JavaVersion.VERSION_21
val managerVersionCode by extra(1 * 10000 + getGitCommitCount() + 606)
val managerVersionCode by extra(1 * 10000 + getGitCommitCount() + 700)
val managerVersionName by extra(getGitDescribe())
fun getGitCommitCount(): Int {