linux.inc: create DEPLOY_DIR_IMAGE in do_devicetree_image
authorJeremy Lainé <jeremy.laine@m4x.org>
Wed, 25 Nov 2009 10:04:55 +0000 (11:04 +0100)
committerJeremy Lainé <jeremy.laine@m4x.org>
Wed, 25 Nov 2009 10:04:55 +0000 (11:04 +0100)
recipes/linux/linux.inc

index 0cce833..ed96ce6 100644 (file)
@@ -162,6 +162,7 @@ do_devicetree_image() {
     if test -n "${KERNEL_DEVICETREE}" ; then
         dtc -I dts -O dtb ${KERNEL_DEVICETREE_FLAGS} -o devicetree ${KERNEL_DEVICETREE}
         install -m 0644 devicetree ${D}/boot/devicetree-${KERNEL_VERSION}
+        install -d ${DEPLOY_DIR_IMAGE}
         install -m 0644 devicetree ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.dtb
         cd ${DEPLOY_DIR_IMAGE}
         rm -f ${KERNEL_IMAGE_SYMLINK_NAME}.dtb