diff options
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/linux-qcom-bootimg.inc | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/recipes-kernel/linux/linux-qcom-bootimg.inc b/recipes-kernel/linux/linux-qcom-bootimg.inc index 663d4c6..28f0091 100644 --- a/recipes-kernel/linux/linux-qcom-bootimg.inc +++ b/recipes-kernel/linux/linux-qcom-bootimg.inc @@ -6,10 +6,14 @@ python __anonymous () { QCOM_BOOTIMG_ROOTFS ?= "undefined" -do_deploy_append_dragonboard-410c() { +# set output file names +DT_IMG_NAME = "dt-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" +DT_IMG_NAME[vardepsexclude] = "DATETIME" + +BOOT_IMG_NAME = "boot-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" +BOOT_IMG_NAME[vardepsexclude] = "DATETIME" - DT_IMG_NAME="dt-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" - BOOT_IMG_NAME="boot-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" +do_deploy_append_dragonboard-410c() { dtbTool -o ${DEPLOYDIR}/${DT_IMG_NAME}.img -s 2048 ${B}/arch/${ARCH}/boot/dts/qcom/ @@ -38,8 +42,6 @@ do_deploy_append_dragonboard-410c() { do_deploy_append_ifc6410 () { - BOOT_IMG_NAME="boot-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" - tmp="${SERIAL_CONSOLES}" baudrate=`echo $tmp | sed 's/\;.*//'` ttydev=`echo $tmp | sed -e 's/^[0-9]*\;//' -e 's/\s.*//' -e 's/\;.*//'` |