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/BoardConfig.mk b/rb5/BoardConfig.mk
index 92f536b..ac26584 100644
--- a/rb5/BoardConfig.mk
+++ b/rb5/BoardConfig.mk
@@ -45,3 +45,6 @@
BOARD_DB_DYNAMIC_PARTITIONS_SIZE := 12433031168 # Reserve 4M for DAP metadata
BOARD_SUPER_PARTITION_METADATA_DEVICE := super
BOARD_SUPER_IMAGE_IN_UPDATE_PACKAGE := true
+# dlkm partition
+include device/linaro/dragonboard/shared/utils/dlkm_loader/BoardConfig.mk
+BOARD_SEPOLICY_DIRS += device/linaro/dragonboard/shared/utils/dlkm_loader/sepolicy/