]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/commitdiff
x-load: inherit deploy to fix spurious rebuilds in image targets
authorKoen Kooi <koen@dominion.thruhere.net>
Fri, 10 Jun 2011 08:51:20 +0000 (10:51 +0200)
committerKoen Kooi <koen@dominion.thruhere.net>
Fri, 10 Jun 2011 08:51:20 +0000 (10:51 +0200)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
recipes-bsp/x-load/x-load.inc

index b2b0277003b1e5ecc8625b3ff4a0ed84b67173c2..f8b2e5fa666ef3107f2702c3e9dfdcb500078881 100644 (file)
@@ -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