Skip to content

Commit 2dd6cc4

Browse files
author
Viswanath Kraleti
committed
image_types_qcom: install vmlinux when available
Keeping vmlinux along with efi.bin helps in debugging kernel issues with ease. Whenever available, copy it to the qcomflash directory. Signed-off-by: Viswanath Kraleti <[email protected]>
1 parent 71112b8 commit 2dd6cc4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

classes-recipe/image_types_qcom.bbclass

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ create_qcomflash_pkg() {
4848
done
4949
fi
5050

51+
# vmlinux
52+
[ -e "${DEPLOY_DIR_IMAGE}/vmlinux" -a \
53+
! -e "vmlinux" ] && \
54+
install -m 0644 "${DEPLOY_DIR_IMAGE}/vmlinux" vmlinux
55+
5156
# Legacy boot images
5257
if [ -n "${QCOM_DTB_DEFAULT}" ]; then
5358
[ -e "${DEPLOY_DIR_IMAGE}/boot-initramfs-${QCOM_DTB_DEFAULT}-${MACHINE}.img" -a \

0 commit comments

Comments
 (0)