summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/u-boot.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-06-10 10:51:35 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-06-10 10:51:35 +0200
commit617a0cba5721e42999d29e7b12a87f2597d5a410 (patch)
tree6102e6fe53d55904c6b37eee6e3d7455892c39b1 /recipes-bsp/u-boot/u-boot.inc
parent5bdc1d2f7ebfde803c9fadd9f68933f8725fc0b4 (diff)
downloadmeta-ti-617a0cba5721e42999d29e7b12a87f2597d5a410.tar.gz
u-boot: inherit deploy to fix spurious rebuilds in image targets
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot.inc')
-rw-r--r--recipes-bsp/u-boot/u-boot.inc6
1 files changed, 2 insertions, 4 deletions
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}"
56# u-boot doesn't use LDFLAGS for fw files, needs to get fixed, but until then: 56# u-boot doesn't use LDFLAGS for fw files, needs to get fixed, but until then:
57INSANE_SKIP_${PN}-fw-utils = True 57INSANE_SKIP_${PN}-fw-utils = True
58 58
59inherit deploy
60
59do_deploy () { 61do_deploy () {
60 install -d ${DEPLOY_DIR_IMAGE} 62 install -d ${DEPLOY_DIR_IMAGE}
61 install ${S}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE} 63 install ${S}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE}
62 64
63 cd ${DEPLOY_DIR_IMAGE} 65 cd ${DEPLOY_DIR_IMAGE}
64 rm -f ${UBOOT_SYMLINK} 66 rm -f ${UBOOT_SYMLINK}
65 ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
66}
67do_deploy[dirs] = "${S}"
68addtask deploy before do_package_stage after do_compile