dragonboards: Enable system_dlkm partition support
Enabling system_dlkm partition support. We plan to use it to
flash and use system_dlkm.img prebuilt from ci.android.com
directly. For now this partition is just a stub or place
holder while we segregate vendor kernel modules into
vendor_ramdisk and vendor_dlkm groups.
We are re-using dlkm_vendor service, hosted by Cuttelfish
project, which will take care of modprobing kernel modules.
Change-Id: I7291fcd430ec76e4f33c9d2d23c4ee8aef159c76
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/rb5/device.mk b/rb5/device.mk
index 656b7aa..1366b4a 100644
--- a/rb5/device.mk
+++ b/rb5/device.mk
@@ -21,8 +21,12 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
+# dlkm_loader
+include device/linaro/dragonboard/shared/utils/dlkm_loader/device.mk
+
PRODUCT_COPY_FILES := \
$(LOCAL_PATH)/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
+ device/linaro/dragonboard/shared/utils/dlkm_loader/dlkm_loader.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/dlkm_loader.rc
# Build generic Audio HAL
PRODUCT_PACKAGES += audio.primary.rb5