diff options
-rw-r--r-- | recipes-kernel/linux/linux-qcom-bootimg.inc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/recipes-kernel/linux/linux-qcom-bootimg.inc b/recipes-kernel/linux/linux-qcom-bootimg.inc index 28f0091..78c6bd7 100644 --- a/recipes-kernel/linux/linux-qcom-bootimg.inc +++ b/recipes-kernel/linux/linux-qcom-bootimg.inc @@ -7,15 +7,15 @@ python __anonymous () { QCOM_BOOTIMG_ROOTFS ?= "undefined" # set output file names -DT_IMG_NAME = "dt-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" -DT_IMG_NAME[vardepsexclude] = "DATETIME" +DT_IMAGE_BASE_NAME = "dt-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" +DT_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME" -BOOT_IMG_NAME = "boot-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" -BOOT_IMG_NAME[vardepsexclude] = "DATETIME" +BOOT_IMAGE_BASE_NAME = "boot-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" +BOOT_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME" do_deploy_append_dragonboard-410c() { - dtbTool -o ${DEPLOYDIR}/${DT_IMG_NAME}.img -s 2048 ${B}/arch/${ARCH}/boot/dts/qcom/ + dtbTool -o ${DEPLOYDIR}/${DT_IMAGE_BASE_NAME}.img -s 2048 ${B}/arch/${ARCH}/boot/dts/qcom/ tmp="${SERIAL_CONSOLES}" baudrate=`echo $tmp | sed 's/\;.*//'` @@ -27,16 +27,16 @@ do_deploy_append_dragonboard-410c() { mkbootimg --kernel ${B}/arch/${ARCH}/boot/Image \ --ramdisk ${B}/initrd.img \ - --output ${DEPLOYDIR}/${BOOT_IMG_NAME}.img \ - --dt ${DEPLOYDIR}/${DT_IMG_NAME}.img \ + --output ${DEPLOYDIR}/${BOOT_IMAGE_BASE_NAME}.img \ + --dt ${DEPLOYDIR}/${DT_IMAGE_BASE_NAME}.img \ --pagesize 2048 \ --base 0x80000000 \ --cmdline \ "root=/dev/${QCOM_BOOTIMG_ROOTFS} rw rootwait console=${ttydev},${baudrate}n8" cd ${DEPLOYDIR} - ln -sf ${DT_IMG_NAME}.img dt-${MACHINE}.img - ln -sf ${BOOT_IMG_NAME}.img boot-${MACHINE}.img + ln -sf ${DT_IMAGE_BASE_NAME}.img dt-${MACHINE}.img + ln -sf ${BOOT_IMAGE_BASE_NAME}.img boot-${MACHINE}.img cd - } @@ -52,13 +52,13 @@ do_deploy_append_ifc6410 () { mkbootimg --kernel ${B}/arch/${ARCH}/boot/zImage \ --ramdisk ${B}/initrd.img \ - --output ${DEPLOYDIR}/${BOOT_IMG_NAME}.img \ + --output ${DEPLOYDIR}/${BOOT_IMAGE_BASE_NAME}.img \ --pagesize 2048 \ --base 0x80200000 \ --cmdline \ "root=/dev/${QCOM_BOOTIMG_ROOTFS} rw rootwait console=${ttydev},${baudrate}n8" cd ${DEPLOYDIR} - ln -sf ${BOOT_IMG_NAME}.img boot-${MACHINE}.img + ln -sf ${BOOT_IMAGE_BASE_NAME}.img boot-${MACHINE}.img cd - } |