diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-10-01 15:20:05 +0200 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-10-01 15:20:05 +0200 |
commit | 94b8c9ca85bb89136a6cbcff3cc4c1d4a2873366 (patch) | |
tree | 84bcc268f03087858b9d0bc8d01017afd9d17157 /recipes | |
parent | 1678d0854dbbacb142b3ba28630e1c7428ac5008 (diff) | |
download | openembedded-94b8c9ca85bb89136a6cbcff3cc4c1d4a2873366.tar.gz |
linux.inc: create image/boot dir in do_devicetree_image
it is possible that do_devicetree_image wants to install
the devicetree in the image/boot dir before it is created
this patch creates the boot dir if needed
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/linux/linux.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc index 3b2da6c91a..f61f5a482a 100644 --- a/recipes/linux/linux.inc +++ b/recipes/linux/linux.inc @@ -227,6 +227,7 @@ FILES_kernel-headers = "${exec_prefix}/src/linux*" do_devicetree_image() { if test -n "${KERNEL_DEVICETREE}" ; then dtc -I dts -O dtb ${KERNEL_DEVICETREE_FLAGS} -o devicetree ${KERNEL_DEVICETREE} + install -d ${D}/boot 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 |