From 617a0cba5721e42999d29e7b12a87f2597d5a410 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 10 Jun 2011 10:51:35 +0200 Subject: u-boot: inherit deploy to fix spurious rebuilds in image targets Signed-off-by: Koen Kooi --- recipes-bsp/u-boot/u-boot.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'recipes-bsp') diff --git a/recipes-bsp/u-boot/u-boot.inc b/recipes-bsp/u-boot/u-boot.inc index 36dab1a1..d48ef8b3 100644 --- a/recipes-bsp/u-boot/u-boot.inc +++ b/recipes-bsp/u-boot/u-boot.inc @@ -56,13 +56,11 @@ FILES_${PN}-fw-utils = "${sysconfdir} ${base_sbindir}" # u-boot doesn't use LDFLAGS for fw files, needs to get fixed, but until then: INSANE_SKIP_${PN}-fw-utils = True +inherit deploy + do_deploy () { install -d ${DEPLOY_DIR_IMAGE} install ${S}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE} cd ${DEPLOY_DIR_IMAGE} rm -f ${UBOOT_SYMLINK} - ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK} -} -do_deploy[dirs] = "${S}" -addtask deploy before do_package_stage after do_compile -- cgit v1.2.3-54-g00ecf