Browse Source

add kernelsu next

j7b3y 3 weeks ago
parent
commit
8062222ad7
5 changed files with 9 additions and 0 deletions
  1. 4 0
      .gitmodules
  2. 1 0
      KernelSU-Next
  3. 1 0
      drivers/Kconfig
  4. 2 0
      drivers/Makefile
  5. 1 0
      drivers/kernelsu

+ 4 - 0
.gitmodules

@@ -0,0 +1,4 @@
+[submodule "KernelSU-Next"]
+	path = KernelSU-Next
+	url = https://github.com/rifsxd/KernelSU-Next
+	branch = next

+ 1 - 0
KernelSU-Next

@@ -0,0 +1 @@
+Subproject commit 5ca5e2b0275a0e1dc7bffec10a7a22ead8fa2da4

+ 1 - 0
drivers/Kconfig

@@ -282,4 +282,5 @@ source "drivers/secdp/Kconfig" # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
 source "drivers/battery/common/Kconfig" # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
 source "drivers/input/sec_input/stm_spi/Kconfig" # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
 source "drivers/mfd/slsi/s2mpb02/Kconfig" # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
+source "drivers/kernelsu/Kconfig"
 endmenu

+ 2 - 0
drivers/Makefile

@@ -229,3 +229,5 @@ obj-y += usb/typec/maxim/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
 obj-y += battery/common/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
 obj-y += input/sec_input/stm_spi/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
 obj-y += mfd/slsi/s2mpb02/ # ADDED BY LEGO AUTOMATICALLY: DO NOT SUBMIT
+
+obj-$(CONFIG_KSU) += kernelsu/

+ 1 - 0
drivers/kernelsu

@@ -0,0 +1 @@
+../KernelSU-Next/kernel