Skip to content

Commit

Permalink
drivers: kernelsu: Hardcode KSU_GIT_VERSION to tiann/KernelSU@8828939
Browse files Browse the repository at this point in the history
A little bit hacky way. Run `git rev-list --count HEAD` on a separate KernelSU repo
  • Loading branch information
kondors1995 committed Oct 11, 2023
1 parent 6f0f785 commit 3ce17c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/kernelsu/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ obj-y += embed_ksud.o
obj-y += kernel_compat.o

obj-y += selinux/
KSU_GIT_VERSION := 1038
KSU_GIT_VERSION := 1072
# ksu_version: major * 10000 + git version + 200 for historical reasons
$(eval KSU_VERSION=$(shell expr 10000 + $(KSU_GIT_VERSION) + 200))
ccflags-y += -DKSU_VERSION=$(KSU_VERSION)
Expand Down

0 comments on commit 3ce17c7

Please sign in to comment.