build.config.msm.common: Match whole word for vendor_dlkm.modules.load
When determining which modules get included in vendor_dlkm.img, grep is used to filter out any modules in first-stage ramdisk. First-stage modules list had "smem.ko" and we wanted "qcom_glink_smem.ko" in vendor_dlkm.img. Grep without matching entire word would remove qcom_glink_smem.ko from vendor_dlkm.img. Use "-w" to match the entire word so that vendor_dlkm.modules.load is created properly. Change-Id: I06dbea7bfc15993409b4bf1dfa364fef0fa45047 Signed-off-by: Elliot Berman <eberman@codeaurora.org>
This commit is contained in:
parent
bfb022100f
commit
e6a10fc9d3
@ -161,7 +161,7 @@ function prepare_vendor_dlkm() {
|
||||
module_list_flag="-e ''"
|
||||
fi
|
||||
(cd "${MODULES_STAGING_DIR}/lib/modules/" && find -type f -name "*.ko" -printf "%f\n") | \
|
||||
grep -v ${module_list_flag} - > ${MODULES_STAGING_DIR}/vendor_dlkm.modules.load
|
||||
grep -w -v ${module_list_flag} - > ${MODULES_STAGING_DIR}/vendor_dlkm.modules.load
|
||||
|
||||
VENDOR_DLKM_MODULES_LIST="${MODULES_STAGING_DIR}/vendor_dlkm.modules.load"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user