From 5bdc1d2f7ebfde803c9fadd9f68933f8725fc0b4 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 10 Jun 2011 10:51:20 +0200 Subject: [PATCH] x-load: inherit deploy to fix spurious rebuilds in image targets Signed-off-by: Koen Kooi --- recipes-bsp/x-load/x-load.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-bsp/x-load/x-load.inc b/recipes-bsp/x-load/x-load.inc index b2b02770..f8b2e5fa 100644 --- a/recipes-bsp/x-load/x-load.inc +++ b/recipes-bsp/x-load/x-load.inc @@ -37,6 +37,8 @@ do_install () { FILES_${PN} = "/boot" +inherit deploy + do_deploy () { install -d ${DEPLOY_DIR_IMAGE} install ${S}/x-load.bin.ift ${DEPLOY_DIR_IMAGE}/${XLOAD_IMAGE} @@ -51,5 +53,3 @@ do_deploy () { rm -f ${MLO_SYMLINK} ln -sf ${MLO_IMAGE} ${MLO_SYMLINK} } -do_deploy[dirs] = "${S}" -addtask deploy before do_build after do_install