From: Zhenhua Luo Date: Sat, 31 Dec 2011 13:49:38 +0000 (+0000) Subject: u-boot: make sure u-boot images are included in cache package X-Git-Tag: 2.1~534^2~543 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=2f71a8d0313c41716e9ec4c87e1e4197973b1cf6;p=meta-freescale.git u-boot: make sure u-boot images are included in cache package fix the u-boot images are not generated when do cache build Signed-off-by: Zhenhua Luo --- diff --git a/meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb b/meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb index 3105f9cd..17097b0c 100644 --- a/meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb +++ b/meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb @@ -5,7 +5,7 @@ PROVIDES = "virtual/bootloader" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" -PR = "r8" +PR = "r9" INHIBIT_DEFAULT_DEPS = "1" DEPENDS = "boot-format-native virtual/${TARGET_PREFIX}gcc" @@ -96,6 +96,13 @@ do_deploy(){ cd ${DEPLOY_DIR_IMAGE} rm -f ${UBOOT_TARGET}-${MACHINE}.bin ln -sf ${UBOOT_TARGET}-${MACHINE}-${PV}-${PR}.bin ${UBOOT_TARGET}-${MACHINE}.bin + + mkdir -p ${DEPLOYDIR} + install ${S}/${board}/${UBOOT_TARGET}.bin ${DEPLOYDIR}/${UBOOT_TARGET}-${MACHINE}-${PV}-${PR}.bin + + cd ${DEPLOYDIR} + rm -f ${UBOOT_TARGET}-${MACHINE}.bin + ln -sf ${UBOOT_TARGET}-${MACHINE}-${PV}-${PR}.bin ${UBOOT_TARGET}-${MACHINE}.bin fi done }