From 2f71a8d0313c41716e9ec4c87e1e4197973b1cf6 Mon Sep 17 00:00:00 2001 From: Zhenhua Luo Date: Sat, 31 Dec 2011 13:49:38 +0000 Subject: [PATCH] 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 --- meta-fsl-ppc/recipes-kernel/u-boot/u-boot_git.bb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 } -- 2.40.1