]> code.ossystems Code Review - meta-freescale.git/commitdiff
Add mkdir -p to target install dir so it exists
authorMatthew McClintock <msm@freescale.com>
Mon, 28 Nov 2011 17:34:17 +0000 (11:34 -0600)
committerMatthew McClintock <msm@freescale.com>
Mon, 28 Nov 2011 17:34:17 +0000 (11:34 -0600)
Signed-off-by: Matthew McClintock <msm@freescale.com>
meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb

index 9cc761dce82051f689af76fa4aff49ac0e73adce..de907b3721c2530e128fdbcd5c06964dd458f7bb 100644 (file)
@@ -65,6 +65,7 @@ do_install(){
                esac
 
                if [ -f ${S}/${UBOOT_TARGET}.bin ]; then
+                       mkdir -p ${S}/${board}/${UBOOT_TARGET}.bin ${D}/boot/
                        install ${S}/${board}/${UBOOT_TARGET}.bin ${D}/boot/${UBOOT_TARGET}-${MACHINE}-${PV}-${PR}.bin
                        ln -sf ${UBOOT_TARGET}-${MACHINE}-${PV}-${PR}.bin ${D}/boot/${UBOOT_TARGET}.bin
                fi