Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 16 additions & 10 deletions recipes-bsp/firmware/firmware-qcom-nhlos.inc
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,21 @@ do_compile:prepend() {
}

do_install:prepend() {
install -d ${D}${FW_QCOM_PATH}
if [ -n "${NHLOS_URI}${PROPRIETARY_URI}" ] ; then
install -d ${D}${FW_QCOM_PATH}

for fw in ${FW_QCOM_LIST} ; do
if [ -r ${S}/proprietary/$fw ] ; then
install -m 0644 ${S}/proprietary/$fw ${D}${FW_QCOM_PATH}
elif [ -r ${B}/$fw ] ; then
install -m 0644 ${B}/$fw ${D}${FW_QCOM_PATH}
elif [ -r ${B}/firmware/image/$fw ] ; then
install -m 0644 ${B}/firmware/image/$fw ${D}${FW_QCOM_PATH}
fi
done
for fw in ${FW_QCOM_LIST} ; do
if [ -r ${S}/proprietary/$fw ] ; then
install -m 0644 ${S}/proprietary/$fw ${D}${FW_QCOM_PATH}
elif [ -r ${B}/$fw ] ; then
install -m 0644 ${B}/$fw ${D}${FW_QCOM_PATH}
elif [ -r ${B}/firmware/image/$fw ] ; then
install -m 0644 ${B}/firmware/image/$fw ${D}${FW_QCOM_PATH}
fi
done
fi
}

# Make sure that there is nothing in the meta-package, all firmware must go to
# a particular package.
FILES:${PN} = ""
2 changes: 1 addition & 1 deletion recipes-bsp/firmware/firmware-qcom-qar2130p.bb
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ do_install:prepend() {
fi
}

FILES:linux-firmware-qcom-adreno-gmu-a621 += "${FW_QCOM_BASE_PATH}/a621_gmu.bin"
FILES:linux-firmware-qcom-adreno-gmu-a621 += "${FW_QCOM_BASE_PATH}/a621_gmu.bin*"
FILES:${PN} += "${nonarch_base_libdir}/firmware/ath12k"
Loading