raviole: Copy touch modules to vendor_boot
Makes touch work in recovery Co-authored-by: LuK1337 <priv.luk@gmail.com> Change-Id: Iaa5a158af827732b13ab79b60bed2f319ce56391
This commit is contained in:
parent
27228265e7
commit
fef066e6b5
9 changed files with 44 additions and 0 deletions
|
@ -3,3 +3,9 @@
|
|||
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
# Kernel modules
|
||||
BOARD_VENDOR_RAMDISK_KERNEL_MODULES_BLOCKLIST_FILE := $(DEVICE_PATH)/modules.blocklist.vendor_boot
|
||||
BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD_RAW := $(strip $(shell cat $(DEVICE_PATH)/modules.load.vendor_boot))
|
||||
BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD += $(BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD_RAW)
|
||||
BOARD_VENDOR_RAMDISK_KERNEL_MODULES += $(addprefix $(KERNEL_MODULE_DIR)/, $(notdir $(BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD_RAW)))
|
||||
|
|
2
modules.blocklist.vendor_boot
Normal file
2
modules.blocklist.vendor_boot
Normal file
|
@ -0,0 +1,2 @@
|
|||
blocklist ftm5
|
||||
blocklist sec_touch
|
2
modules.load.vendor_boot
Normal file
2
modules.load.vendor_boot
Normal file
|
@ -0,0 +1,2 @@
|
|||
extra/ftm5.ko
|
||||
extra/sec_touch.ko
|
11
oriole/Android.bp
Normal file
11
oriole/Android.bp
Normal file
|
@ -0,0 +1,11 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: 2024 The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
prebuilt_etc {
|
||||
name: "init.recovery.oriole.touch.rc",
|
||||
src: "init.recovery.touch.rc",
|
||||
sub_dir: "init",
|
||||
recovery: true,
|
||||
}
|
|
@ -11,3 +11,7 @@ DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/$(DEVICE_CODENAME)/overlay-lineage
|
|||
# HBM
|
||||
PRODUCT_PACKAGES += \
|
||||
HbmSVManagerOverlay
|
||||
|
||||
# Init
|
||||
PRODUCT_PACKAGES += \
|
||||
init.recovery.oriole.touch.rc
|
||||
|
|
2
oriole/init.recovery.touch.rc
Normal file
2
oriole/init.recovery.touch.rc
Normal file
|
@ -0,0 +1,2 @@
|
|||
on init
|
||||
insmod /lib/modules/ftm5.ko
|
11
raven/Android.bp
Normal file
11
raven/Android.bp
Normal file
|
@ -0,0 +1,11 @@
|
|||
//
|
||||
// SPDX-FileCopyrightText: 2024 The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
prebuilt_etc {
|
||||
name: "init.recovery.raven.touch.rc",
|
||||
src: "init.recovery.touch.rc",
|
||||
sub_dir: "init",
|
||||
recovery: true,
|
||||
}
|
|
@ -7,3 +7,7 @@
|
|||
$(call inherit-product, $(DEVICE_PATH)/device-lineage.mk)
|
||||
|
||||
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/$(DEVICE_CODENAME)/overlay-lineage
|
||||
|
||||
# Init
|
||||
PRODUCT_PACKAGES += \
|
||||
init.recovery.raven.touch.rc
|
||||
|
|
2
raven/init.recovery.touch.rc
Normal file
2
raven/init.recovery.touch.rc
Normal file
|
@ -0,0 +1,2 @@
|
|||
on init
|
||||
insmod /lib/modules/sec_touch.ko
|
Loading…
Add table
Add a link
Reference in a new issue