sm6225-common: rootdir: Import rootdir from BSP and CLO
Change-Id: I1bee2bc0301e313a84a9af8690acec3d24ac0112
Signed-off-by: ReStranger <restranger@disroot.org>
Co-authored-by: Nikita Savchenko <NikitaSavc@yandex.ru>
Change-Id: Iae30c6fd41a65312567e3a908cba18ab90c3e4ed
Co-authored-by: Nahhk <nahhk@proton.me>
Change-Id: I76ab1b81141e0e56b9937da76cf6df47905052e0
diff --git a/rootdir/Android.bp b/rootdir/Android.bp
index 8c58ba2..d27b5dc 100644
--- a/rootdir/Android.bp
+++ b/rootdir/Android.bp
@@ -19,3 +19,118 @@
sub_dir: "init",
recovery: true,
}
+
+// Init configuration files
+prebuilt_etc {
+ name: "init.qcom.rc",
+ src: "etc/init.qcom.rc",
+ sub_dir: "init/hw",
+ vendor: true,
+}
+
+prebuilt_etc {
+ name: "init.qti.kernel.rc",
+ src: "etc/init.qti.kernel.rc",
+ sub_dir: "init/hw",
+ vendor: true,
+}
+
+prebuilt_etc {
+ name: "init.recovery.qcom.rc",
+ src: "etc/init.recovery.qcom.rc",
+ sub_dir: "init",
+ recovery: true,
+}
+
+prebuilt_etc {
+ name: "init.target.rc",
+ src: "etc/init.target.rc",
+ sub_dir: "init/hw",
+ vendor: true,
+}
+
+prebuilt_etc {
+ name: "ueventd.qcom.rc",
+ filename: "ueventd.rc",
+ src: "etc/ueventd.qcom.rc",
+ vendor: true,
+}
+
+// Init scripts
+sh_binary {
+ name: "init.class_main.sh",
+ src: "bin/init.class_main.sh",
+ vendor: true,
+}
+
+sh_binary {
+ name: "init.kernel.post_boot-bengal.sh",
+ src: "bin/init.kernel.post_boot-bengal.sh",
+ vendor: true,
+}
+
+sh_binary {
+ name: "init.kernel.post_boot-bengal-iot.sh",
+ src: "bin/init.kernel.post_boot-bengal-iot.sh",
+ vendor: true,
+}
+
+sh_binary {
+ name: "init.kernel.post_boot.sh",
+ src: "bin/init.kernel.post_boot.sh",
+ vendor: true,
+}
+
+sh_binary {
+ name: "init.qcom.class_core.sh",
+ src: "bin/init.qcom.class_core.sh",
+ vendor: true,
+}
+
+sh_binary {
+ name: "init.qcom.early_boot.sh",
+ src: "bin/init.qcom.early_boot.sh",
+ vendor: true,
+}
+
+sh_binary {
+ name: "init.qcom.sh",
+ src: "bin/init.qcom.sh",
+ vendor: true,
+}
+
+sh_binary {
+ name: "init.qti.dcvs.sh",
+ src: "bin/init.qti.dcvs.sh",
+ vendor: true,
+}
+
+sh_binary {
+ name: "init.qti.early_init.sh",
+ src: "bin/init.qti.early_init.sh",
+ vendor: true,
+}
+
+sh_binary {
+ name: "init.qti.kernel.sh",
+ src: "bin/init.qti.kernel.sh",
+ vendor: true,
+}
+
+sh_binary {
+ name: "init.qti.write.sh",
+ src: "bin/init.qti.write.sh",
+ vendor: true,
+}
+
+sh_binary {
+ name: "system_dlkm_modprobe.sh",
+ src: "bin/system_dlkm_modprobe.sh",
+ vendor: true,
+}
+
+sh_binary {
+ name: "vendor_modprobe.sh",
+ src: "bin/vendor_modprobe.sh",
+ vendor: true,
+}