Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

Commit 5563d4e

Browse files
JeevakaPrabusysopenci
authored andcommitted
Fix vendor.img creation failing with latest build_image script
Latest build_image script used to build vendor.img expects the file paths in the format folder_path/file_name whereasiwlwifi firmware copy script provides the path firmware/./iwlwifi* resulting in build_image failing with firmware/./iwlwifi-100-5.ucode: not normalized. Modified the find option to fix the path issue. Tests done: - Android boot with GVT-d and BM - Wi-Fi on/off/scan/connect/disconnect - adb reboot Tracked-On: OAM-123050 Signed-off-by: Jeevaka Prabu Badrappan <jeevaka.badrappan@intel.com>
1 parent a9836a4 commit 5563d4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

firmware.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ LOCAL_FIRMWARE_PATTERN_IN_DIR := \
4444
i915/dg2 \
4545
i915/mtl
4646

47-
LOCAL_FIRMWARE_SRC += $(foreach f,$(LOCAL_FIRMWARE_PATTERN),$(shell cd $(FIRMWARES_DIR) && find . -iname "*$(f)*" -type f,l ))
47+
LOCAL_FIRMWARE_SRC += $(foreach f,$(LOCAL_FIRMWARE_PATTERN),$(shell cd $(FIRMWARES_DIR) && find *$(f)* -type f,l ))
4848
LOCAL_FIRMWARE_SRC += $(foreach f,$(LOCAL_FIRMWARE_DIR),$(shell cd $(FIRMWARES_DIR) && find $(f) -type f,l) )
4949
LOCAL_FIRMWARE_SRC += $(foreach f,$(LOCAL_FIRMWARE_PATTERN_IN_DIR),$(shell cd $(FIRMWARES_DIR) && find $(shell dirname $(f)) -iname "$(shell basename $(f))*" -type f,l))
5050

0 commit comments

Comments
 (0)