Use soong namespace to branch a implementation of insmod.sh . The newly added implementation is only added to PRODUCT_PACKAGE for dev option enabled devices. The only change to the script is skip loading kernel modules from vendor|system_dlkm when under 16K mode. Test: Dev option works Bug: 319335586 Change-Id: Ice77c19cad47f299db113f11878182f37e0b6f91
15 lines
202 B
Plaintext
15 lines
202 B
Plaintext
|
|
soong_namespace {
|
|
}
|
|
|
|
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
sh_binary {
|
|
name: "insmod.sh",
|
|
src: "insmod.sh",
|
|
init_rc: ["init.module.rc"],
|
|
vendor: true,
|
|
}
|